How to initiate Voice Calls via TATA Communications using RESTFul APIs

Initiate Phone Calls to TATA Communications from your App.

We’re excited to show you in this tutorial how to send voice traffic (initiate calls) via  TATA Communications using RESTFul API,  After this tutorial you’ll be able to initiate outbound calls via Airtel right from web or mobile application by simply making a simple API Call.

As usual TelecomsXChange does not markup or commission on the seller rates, our model continues to be a subscription based model and you get exactly the rates offered by carrier TATA Communications.

Tata Communications in numbers:

  • $2.9 billion in annual revenue with 77% of this revenue generated outside of India
  • Over 8500 employees globally, 30% of which are located outside India, and over 40 nationalities represented
  • Largest wholesale voice carrier carrying 53 billion minutes of wholesale voice traffic annually – that’s 1 in 10 voice calls globally
  • 1600 telcos use our network to connect to you (70% of the world’s mobile network operators)
  • World’s largest wholly owned submarine fibre network – more than 500,000 km of subsea fibre, and more than 210,000 km of terrestrial fibre
  • Only Tier-1 provider that is in the top five in five continents, by internet routes
  • Over 25% of the world’s internet routes are on Tata Communications’ network
  • 400+ PoPs reach more than 200 countries and territories
  • 44 data centres and colocation centres with over 1 million sq. ft. of space
  • 13,700 petabytes of internet traffic travel over the Tata Communications’ internet backbone each month
  • 15+ terabits/s of international bandwidth lit capacity

 

Requirements:

In order to be able to make this work, you’ll need to have the below items ready:

Restcomm Cloud will be the API Interface that you’ll interact with to initiate the request while TelecomsXChange is responsible for terminating the calls to TATA.

Follow this guide to prepare your Restcomm Cloud account to use TelecomsXChange for outbound calls.

In TelecomsXChange Portal you need to first make sure you subscribe to AirTel Route:

To subscribe to TATA A-z routes, simply follow below steps:

1- Login to your TelecomsXChange Buyer Account, Don’t have an account yet ?

2- Click on Market View

3- in Seller section enter “TATA” and click search

4- Click on the + icon to subscribe to the route.

Once you have done that, you can go ahead and initiate the call by making an API Request from your application.

Let’s say you want to initiate a call to the Sheraton Hotel in Mumbai via Airtel right from your application, API Request will look like this:

curl -X POST https://[ACCOUNT_SID]:[AUTH_TOKEN]@cloud.restcomm.com/restcomm/2012-04-24/Accounts/[ACCOUNT_SID]/Calls.json -d “From=%2b19542405000” -d “To=32270%23912261587777” -d “Url=[APPLICATION_URL]”

The App URL basically has a set of instructions to Say once the Hotel Receptionist picks up the call.

 

<Response>
<Say>
This an important message please listen carefully. President Donald Duck will arrive to your Hotel in 1 hour. Please notify your VIP guest hosts to make sure everything is ready to go.
</Say>
</Response>

Share
%d bloggers like this: