wrong warning message during config check

1 message Options
Embed this post
Permalink
Juha Heinanen

wrong warning message during config check

Reply Threaded More More options
Print post
Permalink
line

  if (is_local("@ruri.host")) {

in branch_route block that caused "Command cannot be used in the block"
parse error, also caused warning:

 0(4462) WARNING: tm [tm.c:503]: WARNING: on_sl_reply("stateless_reply"): empty/non existing route

when i changed the above line to

  if (1) {

both the parse error and the warning disappeared.  looks like syntax
checking got somehow confused and produced warning on something that was
ok.

-- juha

_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev