On 11/11/2010 09:17 PM, JR Richardson wrote:
So the append_branch should not be used, ok, what
about just the
t_relay and exit?
if (t_check_status("486")) {
t_relay();
exit;
}
Would this work?
This is a failure route, a special type of reply route. Replies are
automatically passed back, unless explicitly dropped or suppressed due
to serial forking via a new branch.
So, you don't need to do t_relay() for the response to get back to the
sender. In fact, you shouldn't, because this will be taken by Kamailio
to mean something different than you intend.
The t_relay() call is only for statefully relaying _requests_.
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web:
http://www.evaristesys.com/