[OpenSER-Users] LCR Routing.... Choosing Best Route

Alex Hermann alex at speakup.nl
Fri Mar 28 08:36:51 CET 2008


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.




More information about the Users mailing list