Voice API - Receive an Inbound Call
You can use TeleSign's Voice API to receive an inbound call. This is often used for setting up an inbound IVR system.
NOTE
If you are interested in trying TeleSign's Voice API, sign up by contacting our experts.
NOTE
TeleSign calls have a maximum call duration of four hours. You can also set a shorter maximum for an individual call.
Requirements
You must have the following:
- TeleSign credentials: Your Customer ID and API key
- TeleSign phone number: A phone number you have purchased from TeleSign to use as a caller ID. Purchase a number using the TeleSign Phone Numbers API (see Get Started with the Phone Numbers API) or ask our Customer Support Team to purchase a number for you. Make sure that the number is voice-capable (include the parameter and value
voice_capable=true
in your request to the Phone Numbers API). Refer to Get Started with the Phone Numbers API for more details. - Customer event URL: A notification service you have set up for TeleSign to post event information to. For more details, refer to the Set up the Customer Event URL section on the Voice API Reference page.
Be sure also to only use supported standards and codecs (see Supported Standards and Codecs).
Receive an Inbound Call
You receive an inbound call from TeleSign via an incoming_call
event.
Example (body only)
{
"event": "incoming_call",
"reference_id": "534e1848-235f-482d-983d-e3e11a04f58a",
"data": {
"to": "15555551212",
"from": "15558675309"
}
}
You then decide how you want to handle this event, for example by sending further actions to the Voice API.
Updated 8 months ago
Did this page help you?