[OpenSIPS-Users] reply and failure routes

neumann itsroot at gmail.com
Tue Sep 2 10:50:40 CEST 2014


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140902/93481b09/attachment.htm>


More information about the Users mailing list