Thanks. I'll do all that as soon as I find documentation that gives me some clues. :)

----- Original Message ----
From: Alex Hermann <alex@speakup.nl>
To: users@lists.openser.org
Sent: Friday, March 28, 2008 12:36:51 AM
Subject: Re: [OpenSER-Users] LCR Routing.... Choosing Best Route

On Friday 28 March 2008, Douglas Garstang wrote:
> Carrier    Prefix    Cost
> ---------------------------
> Carrier1    1650        0.3
> Carrier2    165        0.2

> What do people do in this case?

Don't use the LCR module to compare, but do it by other means by selecting
the longest matching prefix per carrier and then sort the list on price.

Store the list of associated uri's in the gw_uri_avp and use next_gw() to
traverse them.

Alex.

_______________________________________________
Users mailing list
Users@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users



Never miss a thing. Make Yahoo your homepage.