The Redirect element
You can use the Redirect element to transfer control of a call to a different URL, which then starts processing the new XML response. Any elements after <Redirect>
are not processed.
Attributes
methodstring Callback-retry configurable | Specifies the HTTP request mode to obtain the Redirect URL. Allowed values: GET, POST Defaults to POST. |
Parameters sent in the redirect request
Fromstring | The phone number of the party that initiated the call, along with the country code. If the call is inbound, then this is the caller’s caller ID. If the call is outbound — initiated via a request to the API — then this is the phone number you specify as the caller ID. |
Tostring | The phone number of the called party, with the country code. If the call is inbound, then this is your incoming phone number. If the call is outbound, then this is the phone number you provided to call. |
Eventstring | The string |
CallUUIDstring | A unique identifier for the call. |
CallerNamestring | For a SIP call, this is the name of the caller. For a PSTN call, this is the caller ID. |
Directionstring | Indicates the direction of the call. In most cases this will be inbound, and the call would be in a |
CallStatusstring | Indicates the status of the call. The value may be set to |