My understanding of the &quot;sort_order&quot; parameter is that it will apply to sort to the entire group_id. <br><br>So if my LCR should be CarrierA, CarrierB, CarrierC... and i create gateway_ids (3 thru 9 for CarrierA), 10 for CarrierB, and  1 for CarrierC..  <br>
I can have gw_list as :    3;9,10,1   but it will always try 3 then 4 then 5, then 6.. <br><br>If i apply a sort_order... it will apply to all gw&#39;s in the list, not just 3 thru 9, right? <br><br>The over all order needs to say the same, as they are ordered by cost.. but 3 thru 9 are the same Carrier and need to be round-robin or load-balanced.. <br>
<br>Does that make sense? <br><br><br><br><br><div class="gmail_quote">On Mon, Jun 13, 2011 at 9:42 AM, Andrew Pogrebennyk <span dir="ltr">&lt;<a href="mailto:andrew.pogrebennyk@portaone.com">andrew.pogrebennyk@portaone.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 13.06.2011 16:40, Kent Pirlo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
212555, gwlist = 3,5,1<br>
<br>
now.. lets say gw &quot;3&quot; actually needs to try multiple ips for that carrier before going on to gw &quot;5&quot;, is this possible while using drouting or do i need to scrap the drouting module to do something complex like this..<br>

</blockquote>
<br></div>
It is possible and described in the module documentation:<br>
<br>
Also the module allows the usage of groups in the destination lists. A group of destinations is delimited by semi-colon char. inside the whole destination list ( like: 2,4;5,78,23;4;7;2 ). The destinations from within a group may be act differently (like load-balancing, random selection, etc), depending of the “sort_order” parameter - more about this is available under the “do_routing()” function section.<br>

<br>
<a href="http://www.opensips.org/html/docs/modules/1.6.x/drouting.html#id294582" target="_blank">http://www.opensips.org/html/<u></u>docs/modules/1.6.x/drouting.<u></u>html#id294582</a><br>
<br>
-- <br>
Sincerely,<br>
Andrew Pogrebennyk<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div><br>