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@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