This event is sent to the
transferDisconnectUrl of each
<PhoneNumber> tag when its respective call leg ends for any reason.
The event is sent in the normal case, when the transferred leg is answered and later hung up, but is also sent if the new leg
was never answered in the first place, if it was rejected, and if the original call leg hung up before the transferred leg.
cause for a
transferDisconnect event on a call can be:
hangup: one party hung up the call, a
<Hangup>verb was executed, or there was no more BXML to execute; it indicates that the call ended normally.
busy: the callee was busy.
timeout: the call wasn't answered before the
cancel: the call was cancelled by its originator while it was ringing.
rejected: the call was rejected by the callee.
callback-error: a BXML callback couldn't be delivered to your callback server.
invalid-bxml: invalid BXML was returned in response to a callback.
application-error: an unsupported action was tried on the call, e.g. trying to play a .ogg audio.
account-limit: the account rate limits were reached.
node-capacity-exceeded: the system maximum capacity was reached.
error: some error not described in any of the other causes happened on the call.
unknown: some unknown error happened on the call.
This list is not exhaustive and other values can appear in the future.
|eventType||The event type, value is |
|eventTime||The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution.|
|from||The provided identifier string of the caller used in the |
|to||The phone number user in the |
|direction||The direction of the call. Always |
|callId||The call id associated with the event.|
|parentCallId||The call id of the original call leg that contained the |
|callUrl||The URL of the call associated with the event.|
|enqueuedTime||(optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.|
|startTime||Time the transferred leg was started, in ISO 8601 format.|
|answerTime||(optional) Time the transferred leg was answered, in ISO 8601 format.|
|endTime||Time the transferred leg ended, in ISO 8601 format.|
|transferCallerId||The phone number used as the |
|transferTo||The phone number used as the |
|cause||Reason the transferred leg ended. See above for possible values.|
|errorMessage||Text explaining the reason that caused the transferred leg to be ended in case of errors.|
|errorId||Bandwidth internal id that references the error event.|