[SR-Users] error when using "uac_replace_from( )" in the "failure_route" block
Robert R
rob1485 at gmail.com
Thu Mar 22 15:59:46 CET 2012
Hi,
When I am trying to modify FROM field in the "failure_route" block I get an
error message:
failure_route[1]
{
...
uac_replace_from("$avp(i:204)");
append_branch();
t_relay();
}
Not starting openser: invalid configuration file!
Mar 22 10:51:39 [6457] CRITICAL:core:yyerror: parse error in config file,
line 662, column 32-33: Command cannot be used in the block
Mar 22 10:51:39 [6457] ERROR:core:main: bad config file (1 errors)
It seems "uac_replace_from()" can not be used in the "failure_route" block.
What's the correct way to modify (appending a tag) FROM field in the
"failure_route" block?
Thanks,
R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120322/ab2cf5a6/attachment.htm>
More information about the sr-users
mailing list