Basix Plivo XML Request

When there is an incoming call to a Basix number configured with Plivo processing, Plivo will make a synchronous HTTP POST request to the Answer URL (you can set more than one URL to permit fallback), and wait to receive XML in response. Plivo sends call parameters to your application that you can act upon before responding.

Request Parameters

Plivo sends the following parameters with its request:

Parameter Description
CallUUID A unique identifier for this call.
From The phone number of the party that initiated the call. It it is the caller's caller ID (if the caller ID was hidden it will show up as Anonymous, unless you are a local carrier and are allowed to see the hidden caller ID). If the call is outbound then it will be the caller ID used to place the call.
CallerName The caller name of the party that initiated the call. This is usually the same as the parameter From in case of calls from/to the PSTN. But in case of internal calls (for example, extension-to-extension inside your Basix PBX), it will be the SIP username of the entity that placed the call.
To The phone number of the called party.
CallStatus This parameter depicts the status for the call. The value is one of ringing, in-progress, completed.
Direction Indicates the direction of the call: inbound or outbound.
Anonymous Indicates if the call is Anonymous (caller ID hidden) or not: true or false.
DNIS Shows the original number (if available) that was dialed by the caller (in case of inbound calls). Usually the DNIS is the same as the parameter To. However, it might not always be the case depending on how the call arrived at your Basix PBX.
CACode If you are a local carrier and are allowed to see this information, it will provide the CACode of the calling party.
CarrierID If you are a local carrier and are allowed to see this information, it will provide the CarrierID of the calling party.

If we are not able to connect to the first Answer URL within 5 seconds, we will try the next one till we get a response or till the list of URLs is exhausted.