Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-10 Thread Nick Cameo
Hello Everyone, I do not want to ask the same questions in a few weeks. Can anyone give some example or help on this please. Thanks in Advance, PS Ali, sorry for the typo N. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-09 Thread Nick Cameo
Hello Adi, Thank you so much for your response. Talking to Bogdan a while back he had this to say about do_routing and whitelist: >> The whitelist is a list of GWs that are allowed to be used, they do no dictate the order. The order is still given by the DR rules - the whitelist >> is just an add

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Ali Pey
In do_routing, you can specify a list of gateways: http://www.opensips.org/html/docs/modules/devel/drouting.html#id294454 - gw_whitelist - a comma separated white list of gateways. This will force routing over this list of carriers or gateways (a subset of what found in the prefix rules). Or you

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Nick Cameo
Wishing the community a happy new year! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Nick Cameo
Oh hey Ali! What I am asking is for is a function that I can pass a gwlist too at runtime, basically retiring the do_routing since I was told it does not handle gwllists sequentially, if I understood correctly. I have a perl module that orders the gwlist as needed, now I just need a function that w

Re: [OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Ali Pey
Hello Nick, What is the question then? In rules, you can list gateways, carriers and assign wait. How is that different from what you want? Regards, Ali Pey On Wed, Jan 8, 2014 at 1:09 PM, Nick Cameo wrote: > Hello Everyone, > > We are currently using the dr module with dr_rules/gateways pop

[OpenSIPS-Users] Firing gwlist in specific order with failover

2014-01-08 Thread Nick Cameo
Hello Everyone, We are currently using the dr module with dr_rules/gateways populated, and it works great.What we are looking for a is a do_routing like method that accepts a gwlist, terminates to the gatway, and failover to the next one on the list in sequential order. Exactly as the do_routing m