Setting Up API Dialplan
The API Dialplan offers custom solutions for the clients to implement various other features which are not possible through the standard version or from the user interface. It is based on request, response, and action to be performed.
API Dialplan acts upon the user's API and provides a response in return describing the series of actions to be performed.
The portal allows you to create and view API Dialpan.
To create an API Dialplan, follow these steps:
-
Log into Smartflo portal.
-
Click on Services and select API Dialplan.
-
A list of all the API dial plans appears along with the relevant details. Click Add API Dialplan to add a new one.
-
Enter Name, Description, URL, Failover Destination, Request Method, and Ring Timeout. Then, click Save.
Field | Description |
---|---|
Name | Enter the name of API dialplan. |
Description | Enter the description of API dialplan. |
URL | Enter the URL of the customer's API. |
Failover Destination | Select the destination where the call should be routed upon failure. |
Request Method | Request type for the API Get or Post. |
Content-Type | Select the content type to get data in URL or JSON format. |
Ring Timeout | Enter the time (in seconds) for which the call will ring. |
-
Upon successful creation of API Dialplan, you will get an acknowledgment message for the same. Click on Select an Action to perform an edit/delete operation on the API Dialplan.
-
Click My Numbers to assign API Dialplan to a DID.
-
Click Select an Action and then click Edit.
-
Select Destination as your API Dialplan and click SAVE.
You will get a confirmation message as Number Updated stating that you have successfully assigned DID to your API Dialplan.
Click here to know more in-depth about API Dialplan.
Updated 2 months ago