O'Reilly logo

Building Telephony Systems with OpenSER by Flavio E. Goncalves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using LCR (Least Cost Routes)

The last configuration is fine, if you have a few gateways and the routes do not change often. However, most SIP providers change routes very often. Besides, most of them have multiple gateways and connections to VoIP wholesale providers. It is counterproductive to change the script every time a route needs to be changed. So the LCR module will be used. It allows you to insert the routes and gateways in the database and change them dynamically to adjust the system to your requirements.

Imagine a situation where you have two wholesale providers, one in Europe and another in Asia. You want to send local and long distance calls to your own gateways, calls to the Netherlands, Germany, and France to the provider in Europe, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required