Hi Dmitry,
If for a single SIP reply you arm both failure and reply route, then the
reply route will be first executed and then the failure route.
For different replies (of the same transaction), the reply route may be
run in parallel, but failure route not !
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 02.09.2014 11:50, neumann wrote:
Hello. Would you please let us know how failure and reply routes are
performed? In parallel or sequentially? If sequentially, in what
order? And is it possible to influence this order?
For instance regarding the route shown below, when in reply to INVITE
we get 401 or 407, both routes are activated, and judging by log the
route “t_on_reply” is called first and then the route “t_on_failure”.
Is it really so and are they performed one after another?
route[dispatch_out] {
...
t_on_failure("rtf_dispatch_out");
t_on_reply("auth_reply");
t_relay();
exit;
}
Thank you very much. Have a nice day.
————————————
Timofeev Dmitry
VoIP Engineer
Linux, Asterisk, Freeswitch, Cisco solutions
Skype: itsroot
icq: 227227933
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users