Re: [SR-Users] how to route to new URI on failure

2011-02-27 Thread x-kamailio
On Sun, 27 Feb 2011 13:29:10 -0500, Alex Balashov wrote: > Try this: > > $ru = ... new URI ... > append_branch(); > t_relay(); Thanks for the suggestion, but it didn't work! The new INVITE goes out with the new URI, but kamailio sends the INVITE to the IP address of the device that

Re: [SR-Users] how to route to new URI on failure

2011-02-27 Thread Alex Balashov
Try this: $ru = ... new URI ... append_branch(; t_relay(); -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ ___ S

[SR-Users] how to route to new URI on failure

2011-02-26 Thread x-kamailio
I'm trying to route failed calls to a voicemail URI. The failure route couldn't be simpler: failure_route[FAIL_ONE] { if (t_is_canceled()) { exit; } if( t_check_status("486|408") { append_branch( "sip:foo@2.2.2.2"); t_relay(); } } But, it doesn't work. For example