[OpenSIPS-Users] dynamic routing failover ONLY ONCE on the provider and continue
Ben Newlin
Ben.Newlin at genesys.com
Tue Sep 6 14:41:25 UTC 2022
If I’m not mistaken, the functionality David is describing is the default behavior of the module and the use_next_gw function. All carriers are loaded on the call to do_routing, and use_next_gw will go through each gateway of each carrier in order, unless the flag Bogdan referenced below is set.
Ben Newlin
From: Users <users-bounces at lists.opensips.org> on behalf of Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: Tuesday, September 6, 2022 at 10:06 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>, David Villasmil <david.villasmil.work at gmail.com>
Subject: Re: [OpenSIPS-Users] dynamic routing failover ONLY ONCE on the provider and continue
EXTERNAL EMAIL - Please use caution with links and attachments
________________________________
David,
Define the "provide" as carrier and set the "use only first gw from cr" flag for it, see https://www.opensips.org/Documentation/Install-DBSchema-3-2#GEN-DB-DR-CARRIERS<https://www.opensips.org/Documentation/Install-DBSchema-3-2#GEN-DB-DR-CARRIERS>
PS: no need for caps ;)
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com<https://www.opensips-solutions.com>
OpenSIPS Summit 27-30 Sept 2022, Athens
https://www.opensips.org/events/Summit-2022Athens/<https://www.opensips.org/events/Summit-2022Athens/>
On 9/6/22 4:57 PM, David Villasmil wrote:
Hello folks,
I'm trying to route to the first provider and if the first gw attempted fails, try the next gw on that provider, and if that fails THEN failover to the next provider. NOTE ALL PROVIDERS CAN HAVE MULTIPLE gws.
Is this possible on 2.4.7?
I really appreciate your help!
David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220906/04217bbd/attachment-0001.html>
More information about the Users
mailing list