<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;">Thanks. I'll do all that as soon as I find documentation that gives me some clues. :)<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Alex Hermann &lt;alex@speakup.nl&gt;<br>To: users@lists.openser.org<br>Sent: Friday, March 28, 2008 12:36:51 AM<br>Subject: Re: [OpenSER-Users] LCR Routing.... Choosing Best Route<br><br>
On Friday 28 March 2008, Douglas Garstang wrote:<br>&gt; Carrier&nbsp; &nbsp;  Prefix&nbsp; &nbsp; Cost<br>&gt; ---------------------------<br>&gt; Carrier1&nbsp; &nbsp; 1650&nbsp; &nbsp; &nbsp; &nbsp; 0.3<br>&gt; Carrier2&nbsp; &nbsp; 165&nbsp; &nbsp; &nbsp; &nbsp; 0.2<br><br>&gt; What do people do in this case?<br><br>Don't use the LCR module to compare, but do it by other means by selecting <br>the longest matching prefix per carrier and then sort the list on price. <br><br>Store the list of associated uri's in the gw_uri_avp and use next_gw() to <br>traverse them.<br><br>Alex.<br><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.openser.org" href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br><a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br></div><br></div></div><br>



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a></body></html>