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 can have multiple groups and have your perl script return a specific group id for a particular call. There are many ways you can do this. You can do this through your Perl script as well. Just route the call manually to one destination at a time!! Regards, Ali Pey On Wed, Jan 8, 2014 at 8:49 PM, Nick Cameo <[email protected]> wrote: > 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 will fire the INVITE in order with > failover and all of that is provided by do_routing. > > I hope this is clear? > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
