[sr-dev] wrong warning message during config check

Juha Heinanen jh at tutpro.com
Sat Jul 4 13:27:17 CEST 2009


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



More information about the sr-dev mailing list