Incoming Call URL

Set the call URL for your number

The service allows for two ways to set a URL for a call: during a Call Flow or via an API call. The first time you activate a DID for the call API it may take a 30 seconds, subsequent changes will be instant.

By Portal

From the portal, you can set a Call Flow to route to a URL when needed. This allows you to add a lot of different routing methods if you desire.

A potential use case is to use a Hunt Group to route to your URL only after it has exhausted SIP uris.

Or you can set a URL by an API call.

By API Call

/user/dids/callapi

Supported Operations

HTTP POST. Sets the URL for a specific phone number to route directly to a

Request Parameters

Parameter

Description

token

Your customer API Token

did

The phone number to set the URL or none to unset url

url

The HTTP/HTTPS URL to call to.

Example CURL call:

Curl
Curl
curl -X POST https://api.teleapi.net/user/dids/callapi \
-d 'token=API_Token' \
-d 'did=phone_number' \
-d 'url=http_url'

โ€‹