Carrier is just a gateways list. You may also set weight for each gw and drouting will choose gw's due its weight. Route_to_carrier() gets carrier parameters (gateways list) into avps and set $ru to first gw address. Use_next_gw() extract next gw parameters from avps and set $ru to the new gateway. So, you may try to work with these avps to change routing behaviour.
-- Nick 2014-02-06 Nick Cameo <sym...@gmail.com>: > Hello Nick, thank you so much. It seems like exactly what I need. I try to > read the documentation till I am > blue in the face, and still cannot figure out how and where to place > everything in the script. Being the idiot > savant that I am, is there a script snippet/sample anywhere that depicts: > > How to create carrier > Where and how to use route_to_carrier > > Kind Regards, > > Nick > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users