Calls
Voice status callback
Payload sent by SignalWire to your Voice Status Callback URL when the status of a call changes.
Configure this callback using the StatusCallback and StatusCallbackEvent parameters when creating a call via the API or using Dial with Number, SIP, or Conference.
Use StatusCallbackEvent to receive every call progress event — not just the final status — along with current call state and all parameters below.
postWebhookvoiceStatusCallback
Payload
Example payload
{
"AccountSid": "b3877c40-da60-4998-90ad-b792e98472af",
"ApiVersion": "2010-04-01",
"AudioInAveragePtime": 20,
"AudioInFlushPacketCount": 2,
"AudioInJitterMaxVariance": 8,
"AudioInJitterMinVariance": 1,
"AudioInLargestJbSize": 4,
"AudioInMos": "4.3",
"AudioInMediaPacketCount": 1842,
"AudioInSkipPacketCount": 1,
"AudioOutMediaPacketCount": 1840,
"CallbackSource": "call-progress-events",
"CallDuration": 94,
"CallerName": "Jane Smith",
"CallSid": "b3877c40-da60-4998-90ad-b792e98472ca",
"CallStatus": "completed",
"Direction": "outbound-api",
"ForwardedFrom": "+15550001111",
"From": "+15551234567",
"ParentCallSid": "b3877c40-da60-4998-90ad-b792e98472pa",
"RecordingDuration": 94,
"RecordingSid": "b3877c40-da60-4998-90ad-b792e984re01",
"RecordingUrl": "https://example.signalwire.com/api/laml/2010-04-01/Accounts/b3877c40-da60-4998-90ad-b792e98472af/Recordings/b3877c40-da60-4998-90ad-b792e984re01",
"SequenceNumber": 4,
"SipInviteResultPhrase": "OK",
"SipResultCode": "200",
"Timestamp": "Thu, 04 Apr 2024 18:32:15 +0000",
"To": "+15559876543"
}Response
Webhook received