[OpenSIPS-Users] Setting do_routing
symack at gmail.com
Mon Dec 23 04:27:27 CET 2013
Thank your for your response. Just has a chance to test drive this.
Correct me if i'm wrong however, it would seem that route_to_gw():
* Does not accept comma separated gwlist? Just single gateways?
* Does not shape the ruri (ie, gateway prefix, port, ip....)
I would like to retain the functionality of do_routing however, fire
off to the gwlist in chronological
Hope all is well,
On 12/10/13, Bogdan-Andrei Iancu <bogdan at opensips.org> wrote:
> Hi Nick,
> For using the whitelist, you need to pass 3 params, so it will be
> 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 additional filter.
> If you want to explicitly route to a set of GWs (in the given order),
> take a look at the route_to_gw() functions:
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> On 09.12.2013 04:56, Nick Cameo wrote:
>> Sorry about the last message, I hit enter by mistake.... After looking
>> over the do_routing documentation, I saw that is supports
>> gw_whitelist. My question is how do we pass gw_whitelist to function.
>> Does it have to be do_routing("0","","1,2,3,4") or can we just have
>> Also, I am assuming that gw_whitelist will fire the gwlist in the
>> order given, and my failover route is not effected by the dynamic
>> injection. Correct me if I am wrong
>> Kind Regards,
>> On 12/8/13, Nick Cameo <symack at gmail.com> wrote:
>>> Hello Everyone,
>>> Is it possible to set dr_rules.gwlist at runtime without having to
>>> relaod the DB etc...?
>> Users mailing list
>> Users at lists.opensips.org
More information about the Users