Programmable Voice Routing & LCR

Ameed Jamous
2 min readOct 7, 2018

What is Programmable Routing?

Programmable Routing makes it easy for you to add voice-over-IP (VoIP) routing logic into your applications quickly.

A simple if else statement can re-route millions of voice calls from one carrier to another in real-time, it also allows you to build LCR (Least Cost Routing) depending on which carrier is offering the lowest price for the dialed number or block service providers as their ASR or ACD metrics drop to a specific destination.

The Problem:

Lets say Uber is using programmable voice provided by one of the popular CPaaS providers today to connect riders with drivers using programmable voice and suddenly the carrier used by the CPaaS provider behind the scenes is having technical difficulties to connect the calls, this can potentially effect millions of users ride sharing experience and the app developer “Uber” will have no option but to switch the CPaaS provider completely until the issue is resolved.

Programmable Routing by powered by TelecomsXChange and Restcomm API allows the app developer to change carriers terminating the voice calls in realtime as soon as a problem is detected right from the application level, the developer can even build their own carrier testing tool right into their application and switch back routing when issue has been resolved.

How it works ?

In order to use Programmable Routing its very simple, you only need to have two things for the magic to happen:

First you’ll need to login to your Restcomm Cloud account and click on Configure BYOC

Second you’ll need to select [Voice] from the termination options and fill TelecomsXChange IP information as shown below:



Ameed Jamous

Entrepreneur, Open Source Contributor, CPaaS Evangelist - Founder @TelecomsXChange