Hi.
Here is a packet capture of an inbound call being terminated by the sender
because it has been answered by another extension:
Request-Line: CANCEL
sip:gw+00280000000204@xxx.16.xxx.213:50060;gw=00280000000204 SIP/2.0
Method: CANCEL
Request-URI:
sip:gw+00280000000204@xxx.16.xxx.213:50060;gw=00280000000204
Request-URI User Part: gw+00280000000204
Request-URI Host Part: xxx.16.xxx.213
Request-URI Host Port: 50060
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP
xxx.62.xxx.61:5060;rport;branch=z9hG4bKPjfd54976f-1b52-417a-a4bb-94a4a3259abe
Transport: UDP
Sent-by Address: xxx.62.xxx.61
Sent-by port: 5060
RPort: rport
Branch: z9hG4bKPjfd54976f-1b52-417a-a4bb-94a4a3259abe
From: <sip:674783@xxx.62.xxx.61>;tag=e0f691fa-055a-440d-82d2-
da5339000730
SIP from address: sip:674783@xxx.62.xxx.61
SIP from address User Part: 674783
SIP from address Host Part: xxx.62.xxx.61
SIP from tag: e0f691fa-055a-440d-82d2-da5339000730
To: <sip:gw+00280000000204@xxx.16.xxx.213;gw=00280000000204>
SIP to address:
sip:gw+00280000000204@xxx.16.xxx.213;gw=00280000000204
SIP to address User Part: gw+00280000000204
SIP to address Host Part: xxx.16.xxx.213
SIP To URI parameter: gw=00280000000204
Call-ID: f5cd2da3-6648-41fe-9bc3-59536ff6c637
CSeq: 31785 CANCEL
Sequence Number: 31785
Method: CANCEL
Reason: SIP;cause=200;text="Call completed elsewhere"
Reason protocols: SIP
Cause: OK (200)
Text: Call completed elsewhere
Max-Forwards: 70
User-Agent: Asterisk
Content-Length: 0
Is there a way in which I can access the Reason Text “Call completed
elsewhere” in the dialplan?
Thanks,
Antony.