[OpenSIPS-Users] Partitions question (drouting)

Liviu Chircu liviu at opensips.org
Mon Oct 31 15:42:33 CET 2016


Hi, Pete!

 > if I call do_routing() a second time, I will lose all the gateway 
list from the initial lookup.

Correct.

Failover through multiple partitions like below should definitely work, 
as each partition comes with its unique set of AVPs:

use_next_gw("A..)
use_next_gw("B...)

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 31.10.2016 16:28, Pete Kelly wrote:
> Hi
>
> I have a scenario whereby I want to query 1 DR group (A) which will 
> imply another DR group (B) to query.
>
> I then want to loop through the gateways in group B and if all should 
> fail, I want to continue to loop through the gateways from A.
>
> Obviously if I call do_routing() a second time, I will lose all the 
> gateway list from the initial lookup.
>
> Can I achieve what I want to to by using partitions?
>
> e.g.
>
> do_routing("A....)
> do_routing("B...)
> use_next_gw("A..)
> use_next_gw("B...)
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161031/293045d9/attachment-0001.htm>


More information about the Users mailing list