[OpenSIPS-Users] Setting do_routing
Nick Altmann
nick.altmann at gmail.com
Thu Feb 6 12:48:14 CET 2014
You may create carrier with all gateways.
After route_to carrier() it writes gw list into this avp:
modparam("drouting", "ruri_avp", '$avp(dr_ruri)')
I think you may try to play changing this avp (and another
corresponding avps - gw_attrs_avp, gw_prefixes_avp).
I use such method for dispatcher module in very complicated
configuration, when I need to change gwlist using my own rules.
--
Nick
2014-02-06 Nick Cameo <symack at gmail.com>:
> Hello Everyone,
>
> Thank you all for your help, I really appreciate it. I should have been more
> specific. The gwlist is generated dynamically
> at runtime. We query the database and pull up all gateways that provide
> service to that prefix ordered by price (LCR).
> This part is all done, and working as expected. Now that we have the gwlist,
> I would like to route to those gateways in
> that specific order failing over to the next gateway in the list. All during
> runtime.
>
> The problem with creating carrier with gateways is that we would have to do
> it using some type of pre-processing which
> we can do with DR modules and dr_rules as well.
>
> Your help is greatly appreciated,
>
> 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