ApplicationId |
string |
The application id associated with the call. |
[optional] |
AccountId |
string |
The account id associated with the call. |
[optional] |
CallId |
string |
The programmable voice API call ID. |
[optional] |
ParentCallId |
string |
The A-leg call id, set only if this call is the B-leg of a `<Transfer>`. |
[optional] |
To |
string |
The phone number that received the call, in E.164 format (e.g. +15555555555), or if the call was to a SIP URI, the SIP URI. |
[optional] |
From |
string |
The phone number that made the call, in E.164 format (e.g. +15555555555). |
[optional] |
Direction |
CallDirectionEnum |
|
[optional] |
State |
string |
The current state of the call. Current possible values are `queued`, `initiated`, `answered` and `disconnected`. Additional states may be added in the future, so your application must be tolerant of unknown values. |
[optional] |
StirShaken |
Dictionary<string, string> |
For inbound calls, the Bandwidth STIR/SHAKEN implementation will verify the information provided in the inbound invite request `Identity` header. The verification status is stored in the call state `stirShaken` property as follows. |
Property |
Identity |
string |
The value of the `Identity` header from the inbound invite request. Only present for inbound calls and if the account is configured to forward this header. |
[optional] |
EnqueuedTime |
DateTime? |
The time this call was placed in queue. |
[optional] |
StartTime |
DateTime? |
The time the call was initiated, in ISO 8601 format. `null` if the call is still in your queue. |
[optional] |
AnswerTime |
DateTime? |
Populated once the call has been answered, with the time in ISO 8601 format. |
[optional] |
EndTime |
DateTime? |
Populated once the call has ended, with the time in ISO 8601 format. |
[optional] |
DisconnectCause |
string |
|
Cause |
ErrorMessage |
string |
Populated only if the call ended with an error, with text explaining the reason. |
[optional] |
ErrorId |
string |
Populated only if the call ended with an error, with a Bandwidth internal id that references the error event. |
[optional] |
LastUpdate |
DateTime |
The last time the call had a state update, in ISO 8601 format. |
[optional] |