[OpenSIPS-Users] Setting do_routing
Nick Altmann
nick.altmann at gmail.com
Thu Feb 6 19:54:45 CET 2014
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 <symack at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list