<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div><tt>Hi, Pete!</tt><tt><br>
</tt><br>
<tt>> if I call do_routing() a second time, I will lose all the
gateway list from the initial lookup.</tt><tt><br>
<br>
Correct.<br>
<br>
Failover through multiple partitions like below should
definitely work, as each partition comes with its unique set of
AVPs:<br>
<br>
</tt><tt>use_next_gw("A..)</tt></div>
<div><tt>use_next_gw("B...)<br>
<br>
</tt></div>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 31.10.2016 16:28, Pete Kelly wrote:<br>
</div>
<blockquote
cite="mid:CAEWH9M_bE_aHAjNMRCdd5s+0c0tCQFQj7rMgAcN0-cxOsfYX7w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div>I have a scenario whereby I want to query 1 DR group (A)
which will imply another DR group (B) to query.</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Obviously if I call do_routing() a second time, I will lose
all the gateway list from the initial lookup.</div>
<div><br>
Can I achieve what I want to to by using partitions?</div>
<div><br>
</div>
<div>e.g.</div>
<div><br>
</div>
<div>do_routing("A....)</div>
<div>do_routing("B...)</div>
<div>use_next_gw("A..)</div>
<div>use_next_gw("B...)</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>