Question: Does Exotel have "origin based routing" feature to route call according to origination point? 

Yes, and the Origin based routing works like this:

If a person calls from Tamil Nadu, send the call to my agents in Chennai (or a group) who can speak Tamil. If it is from Maharashtra, send it to Mumbai (or people who can speak Marathi). 

Point to consider:

It is now impossible to pinpoint an origin region that is smaller than a telecom circle. For instance, determining whether a caller is from Pune or Nagpur cannot be done using our APIs. Only that they are both from Maharasthra is all we know.

Origin-based routing can be implemented using our APIs even if it is not a pre-built routing policy. Additionally, "App builder" is required for this solution.

  • Add the names & numbers of people as users in your Exotel account.
  • Introduce a Connect applet in your call flow app, and point it to a URL on your server like this. Read Passthru applet specs to understand what information gets passed on to your server and how.

  • Once the call arrives on your server, Use the Phone number metadata API to identify the circle information. 
  • Based on the circle, return back a comma-separated list of numbers to dial. To achieve this, You will have to maintain a list of numbers, and the circle group they belong to in a database on your side.
  • Exotel does not maintain the state of these numbers, i.e. if another call comes and if your script decides to send the call to the same set of numbers, Exotel will dial them, and if the destination party has call waiting enabled, the caller will hear "The person you are trying to reach is on another call" etc., So user & user's state management is left to you to handle.
  • If you do not have people to write this code, Consider Phone a friend

This completes the Geo-based routing or Origin-based routing with Exotel!

Contact us: 

If you have any questions or concerns, please connect with us using the chat widget on your Exotel Dashboard or Whatsapp us on 08088919888