call:status

jambonz => websocket server

A call:status message is sent by jambonz to the websocket server any time the call status changes

propertytypemeaningrequired
typestring “call:status”indicates this is an error notification from jambonzyes
msgidstringunique message identifieryes
call_sidstringunique call identifieryes
b3stringopen telemetry span identifier for this call (only provided if otel tracing is enabled)no
dataobjectcurrent call informationyes
data.call_statusstringone of ‘trying’, ‘ringing’, ‘early-media’, ‘in-progress’, ‘completed’, ‘failed’, ‘no-answer’, ‘busy’, ‘queued’yes
data.sip_reasonstringthe reason phrase from the SIP status LINE (e.g. ‘OK’), not the RFC 3326 Reason headerno
data.sip_reason_headerstringthe RFC 3326 Reason header of the SIP message that caused this status change, if it carried one (e.g. Q.850;cause=18). Carriers on ISDN/E1 PRI trunks put the authoritative disconnect cause here rather than in the status line. Parse tolerantly: the header is re-serialized in transit so optional whitespace around ; is normalized, and repeated headers arrive comma-separated (split outside quotes, as text="..." may contain a comma)no
{
"type": "call:status",
"msgid": "eyvooFN3dRMpZ2ZxdRLvBm",
"call_sid": "b5e39996-bd2f-4bda-b928-355147186a2a",
"b3": "e72ef0d61bfb3e23c5e50c72496feb2e-6125806ded19bb18-1",
"data": {
"call_sid": "b5e39996-bd2f-4bda-b928-355147186a2a",
"direction": "inbound",
"from": "+441173185201",
"to": "+441303763875",
"call_id": "7ade3efb-7163-123b-e6ba-023fd61c5256",
"sip_status": 200,
"sip_reason": "OK",
"sip_reason_header": "Q.850;cause=16",
"call_status": "completed",
"account_sid": "300be250-5a79-46bd-8393-45e7d26c2e34",
"trace_id": "654c5323d6f907233a1069136b8a330e",
"local_sip_address": "10.0.150.88:5070",
"defaults": {
"synthesizer": {
"vendor": "microsoft",
"language": "en-US",
"voice": "en-US-JennyNeural"
},
"recognizer": {
"vendor": "microsoft",
"language": "en-US"
}
}
}
}