Hi,
I would like to resend the INVITE to another gateway if the original fails (503, 500, etc.). Is there any module or mechanism which could do this ?
Mino
Yes. You have to use a failure route, and activate the failure route in normal route processing.
See the default config file and search for t_on_failure.
regards Klaus
Am 31.08.2011 10:58, schrieb Mino Haluz:
Hi,
I would like to resend the INVITE to another gateway if the original fails (503, 500, etc.). Is there any module or mechanism which could do this ?
Mino
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello,
have a look at the Dispatcher Module. This helps a lot in this case.
Greetings Timo Klecker
-----Ursprüngliche Nachricht----- Von: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Im Auftrag von Mino Haluz Gesendet: Mittwoch, 31. August 2011 10:58 An: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Betreff: [SR-Users] Resend INVITE in case of failure
Hi,
I would like to resend the INVITE to another gateway if the original fails (503, 500, etc.). Is there any module or mechanism which could do this ?
Mino
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On 31.08.2011 10:58, Mino Haluz wrote:
Hi,
I would like to resend the INVITE to another gateway if the original fails (503, 500, etc.). Is there any module or mechanism which could do this ?
That's what built-in failure routes are good for:
http://sip-router.org/wiki/cookbooks/core-cookbook/devel#failure_route
HTH,
--Timo