session:reconnect

jambonz => websocket server

A session:reconnect message is sent by jambonz to the websocket server when the websocket connection was closed unexpectedly by the websocket server and jambonz has then successfully reconnected.

propertytypemeaningrequired
typestring “session:reconnect”indicates this is a session:reconnect messageyes
msgidstringunique message identifieryes
call_sidstringunique call identifieryes
b3stringopen telemetry span identifier for this call (only provided if otel tracing is enabled)no
dataobjectJSON payload describing the callyes
1{
2 "type": "session:reconnect",
3 "msgid": "auuHioXGktYh2ZFYxf3hAA",
4 "call_sid": "9fb35c28-9688-4531-943c-e280b04f3adf",
5 "data": {
6 "sip": {
7 "headers": {
8 "via": "SIP/2.0/UDP 3.212.205.202;rport=5060;branch=z9hG4bK3tv053jp1mcHQ;received=10.0.13.72",
9 "max-forwards": "70",
10 "from": "<sip:+15083084809@3.212.205.202:5060>;tag=9mgyBeaUy4H2S",
11 "to": "<sip:+15083728299@3.212.205.202>",
12 "call-id": "d8907723-0bc7-123b-09b5-12e962f3039b",
13 "cseq": "48063641 INVITE",
14 "contact": "<sip:10.0.13.72:5060>",
15 "user-agent": "Twilio Gateway",
16 "allow": "INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, OPTIONS",
17 "content-type": "application/sdp",
18 "content-length": "281",
19 "X-Account-Sid": "9351f46a-678c-43f5-b8a6-d4eb58d131af",
20 "X-CID": "dae8845526bf7fe640ad0162238473e4@0.0.0.0",
21 "X-Forwarded-For": "54.172.60.3",
22 "X-Originating-Carrier": "Twilio",
23 "X-Voip-Carrier-Sid": "c763b9dc-7113-450d-b86e-b3781d5fbec1",
24 "X-Application-Sid": "7087fe50-8acb-4f3b-b820-97b573723aab",
25 "Diversion": "<sip:+15083728299@twilio.com>;reason=unconditional",
26 "X-Twilio-AccountSid": "AC58f23d38858ac262d6ee2e554b30c561",
27 "X-Twilio-CallSid": "CAeea292c8a7c71dc67de46155ec667826",
28 "p-asserted-identity": "<sip:+15083084809@206.147.76.45:5060>"
29 },
30 "raw": "INVITE sip:+15083728299@10.0.13.72:5070 SIP/2.0\r\nVia: SIP/2.0/UDP 3.212.205.202;rport=5060;branch=z9hG4bK3tv053jp1mcHQ;received=10.0.13.72\r\nMax-Forwards: 70\r\nFrom: <sip:+15083084809@3.212.205.202:5060>;tag=9mgyBeaUy4H2S\r\nTo: <sip:+15083728299@3.212.205.202>\r\nCall-ID: d8907723-0bc7-123b-09b5-12e962f3039b\r\nCSeq: 48063641 INVITE\r\nContact: <sip:10.0.13.72:5060>\r\nUser-Agent: Twilio Gateway\r\nAllow: INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, OPTIONS\r\nContent-Type: application/sdp\r\nContent-Length: 281\r\nX-Account-Sid: 9351f46a-678c-43f5-b8a6-d4eb58d131af\r\nX-CID: dae8845526bf7fe640ad0162238473e4@0.0.0.0\r\nX-Forwarded-For: 54.172.60.3\r\nX-Originating-Carrier: Twilio\r\nX-Voip-Carrier-Sid: c763b9dc-7113-450d-b86e-b3781d5fbec1\r\nX-Application-Sid: 7087fe50-8acb-4f3b-b820-97b573723aab\r\nDiversion: <sip:+15083728299@twilio.com>;reason=unconditional\r\nX-Twilio-AccountSid: AC58f23d38858ac262d6ee2e554b30c561\r\nX-Twilio-CallSid: CAeea292c8a7c71dc67de46155ec667826\r\nP-Asserted-Identity: <sip:+15083084809@206.147.76.45:5060>\r\n\r\nv=0\r\no=root 81565042 81565042 IN IP4 10.0.13.72\r\ns=Twilio Media Gateway\r\nc=IN IP4 10.0.13.72\r\nt=0 0\r\nm=audio 40150 RTP/AVP 0 8 101\r\na=maxptime:20\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40151\r\na=ptime:20\r\n",
31 "body": "v=0\r\no=root 81565042 81565042 IN IP4 10.0.13.72\r\ns=Twilio Media Gateway\r\nc=IN IP4 10.0.13.72\r\nt=0 0\r\nm=audio 40150 RTP/AVP 0 8 101\r\na=maxptime:20\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40151\r\na=ptime:20\r\n",
32 "method": "INVITE",
33 "version": "2.0",
34 "uri": "sip:+15083728299@10.0.13.72:5070",
35 "payload": [{
36 "type": "application/sdp",
37 "content": "v=0\r\no=root 81565042 81565042 IN IP4 10.0.13.72\r\ns=Twilio Media Gateway\r\nc=IN IP4 10.0.13.72\r\nt=0 0\r\nm=audio 40150 RTP/AVP 0 8 101\r\na=maxptime:20\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:101 telephone-event/8000\r\na=fmtp:101 0-16\r\na=sendrecv\r\na=rtcp:40151\r\na=ptime:20\r\n"
38 }]
39 },
40 "direction": "inbound",
41 "caller_name": "",
42 "call_sid": "9fb35c28-9688-4531-943c-e280b04f3adf",
43 "account_sid": "9351f46a-678c-43f5-b8a6-d4eb58d131af",
44 "application_sid": "7087fe50-8acb-4f3b-b820-97b573723aab",
45 "from": "+15083084809",
46 "to": "+15083728299",
47 "call_id": "d8907723-0bc7-123b-09b5-12e962f3039b",
48 "sip_status": 100,
49 "call_status": "trying",
50 "originating_sip_ip": "54.172.60.3",
51 "originating_sip_trunk_name": "Twilio",
52 "local_sip_address": "10.0.13.72:5070"
53 }
54}