session:redirect

jambonz => websocket server

A session:redirect message is sent by jambonz to the websocket server when a call has been redirected to a new application and a relative URL was provided instead of an array of verbs.

propertytypemeaningrequired
typestring “session:redirect”indicates this is a session:redirect messageyes
msgidstringunique message identifieryes
call_sidstringunique call identifieryes
b3stringopen telemetry span identifier for this call (only provided if otel tracing is enabled)no
hookstringurl of the call_hook that was providedyes
dataobjectJSON payload describing the current state of the callyes
1{
2 "type": "session:redirect",
3 "msgid": "cvY6kNE8RXdaZdaDcJbViG",
4 "call_sid": "aad0115d-ec21-40db-aa02-31b7b01540c5",
5 "b3": "18228daa536f82e0ec29074e7bf47b89-dd3bdf1f177f2995-1",
6 "hook": "survey",
7 "data": {
8 "call_sid": "b5e39996-bd2f-4bda-b928-355147186a2a",
9 "direction": "inbound",
10 "from": "+441173185201",
11 "to": "+441303763875",
12 "call_id": "7ade3efb-7163-123b-e6ba-023fd61c5256",
13 "sip_status": 200,
14 "sip_reason": "OK",
15 "call_status": "in-progress",
16 "account_sid": "300be250-5a79-46bd-8393-45e7d26c2e34",
17 "trace_id": "654c5323d6f907233a1069136b8a330e",
18 "local_sip_address": "10.0.150.88:5070",
19 "defaults": {
20 "synthesizer": {
21 "vendor": "microsoft",
22 "language": "en-US",
23 "voice": "en-US-JennyNeural"
24 },
25 "recognizer": {
26 "vendor": "microsoft",
27 "language": "en-US"
28 }
29 }
30 }
31}