[OpenSIPS-Users] Handling various CANCEL scenarios
Andreas Bøckmann
monkeilas at gmail.com
Tue Feb 7 09:03:39 EST 2017
Hello everybody
How can I separate different Reason headers to achieve a setup where
NO_ANSWER (480) ends the dialog (and sends CANCELs) while other reasons
like e.g. TM timeout leads to routing the requests to GW?
Could this be handled in the failure route as something like below or am I
way off here?
if (t_check_status("480")) {
t_relay();
exit;
}
if (t_check_status("487")) {
t_relay();
exit;
}
if (t_check_status("404")) {
route_to_gw("gwname");
t_on_failure("gwfailure");
}
Thanks!
//Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170207/3583e7ed/attachment.html>
More information about the Users
mailing list