Right.... minimising cost is priority #1... and in this particular case the cheapest route is NOT used.
----- Original Message ---- From: Andreas Sikkema h323@ramdyne.nl To: users@lists.openser.org Sent: Thursday, March 27, 2008 5:20:08 PM Subject: Re: [OpenSER-Users] LCR Routing.... Choosing Best Route
On Mar 28, 2008, at 12:38 AM, Douglas Garstang wrote:
However, when you get routes from multiple carriers, they don't always bill on the same prefix boundaries. In my example above, LCR/ Carierroute would match against Carrier1 for anything starting with 1650. HOWEVER, since 165 is also applicable (165 means 1650, 1651 and so on), and in this example cheaper, you should route 165 over Carrier 2.
What do people do in this case?
It's called LCR for a reason, so I think minimizing cost should be priority 1. Once price has stopped being the differentiator other factors could be taken into account. Maybe price and other costs have to aggregated?
Douglas Garstang writes:
Right.... minimising cost is priority #1... and in this particular case the cheapest route is NOT used.
lcr module was not designed to minimize monetary cost nor for sip trunking between carriers. its design goal was much more modest: allow an operator who offers voip service to choose among its own gateways on geographical (country code/area code) basis when a call needs to be routed to the pstn.
in order to minimize monetary cost, a module would need to know about the actual figures, times of day, days of week, full numbers, etc. i do not want to complicate lcr module with that kind of stuff. fortunately is it easy to introduce new modules in openser and choose what to use when openser starts.
-- juha