[OpenSIPS-Users] drouting gw list

Ben Newlin Ben.Newlin at genesys.com
Wed Nov 10 02:55:30 EST 2021


David,

Is this gw_list defined on a dr_rule or a dr_carrier? What is the value of the sort_alg column for that dr_rule/dr_carrier? If the sort_alg is set to W, then the assigned values are interpreted as weights. So with this configuration it would send 100 out of 110 calls to PrimaryGW and 10 out of 110 calls to SecondaryGW.

If you don’t want to use the SecondaryGW except for failover you should not use weighted routing, so you should set the sort_alg column to N.

https://www.opensips.org/Documentation/Install-DBSchema-3-2#GEN-DB-DR-RULES

Ben Newlin

From: Users <users-bounces at lists.opensips.org> on behalf of David Villasmil <david.villasmil.work at gmail.com>
Date: Tuesday, November 9, 2021 at 7:37 PM
To: users at lists.opensips.org <users at lists.opensips.org>
Subject: [OpenSIPS-Users] drouting gw list
Hello folks,

i have the following gw_list

PrimaryGW=100,SecondaryGW=10

I'm seeing calls going to the SecondaryGW.
How should i set this if i only want the SecondaryGW to be used for failover?

Regards,

David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211110/b78ee7ab/attachment.html>


More information about the Users mailing list