[Home]

Summary:ASTERISK-26382: Double SIP CANCEL with 2 Reason headers
Reporter:Kevin Harwell (kharwell)Labels:
Date Opened:2016-09-15 14:45:34Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:
Versions:14.0.0-beta2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:During a PRACK test Asterisk sent two SIP CANCEL messages. The second CANCEL contains two reason headers causing problems for some users.
{noformat}
15 Sep 11:36:22.675/GLOBAL/b2bua: RECEIVED message from 132.177.253.6:5060:
CANCEL sip:500@h4.boom.sipit.net SIP/2.0
Via: SIP/2.0/UDP 132.177.253.6:5060;rport;branch=z9hG4bKPje0ab4429-551b-4dc7-98bd-517ab9465bac
From: "Anonymous" <sip:1030@132.177.253.6>;tag=44ae4c09-59fb-4e59-bd1f-40eb2bfd3132
To: <sip:500@h4.boom.sipit.net>
Call-ID: a0b08ced-29d9-43d3-99f2-1672567b50c4
CSeq: 29593 CANCEL
Reason: Q.850;cause=0
Max-Forwards: 70
User-Agent: Asterisk PBX GIT-14-236761aM
Content-Length:  0

15 Sep 11:36:23.175/GLOBAL/b2bua: RECEIVED message from 132.177.253.6:5060:
CANCEL sip:500@h4.boom.sipit.net SIP/2.0
Via: SIP/2.0/UDP 132.177.253.6:5060;rport;branch=z9hG4bKPje0ab4429-551b-4dc7-98bd-517ab9465bac
From: "Anonymous" <sip:1030@132.177.253.6>;tag=44ae4c09-59fb-4e59-bd1f-40eb2bfd3132
To: <sip:500@h4.boom.sipit.net>
Call-ID: a0b08ced-29d9-43d3-99f2-1672567b50c4
CSeq: 29593 CANCEL
Reason: Q.850;cause=0
Max-Forwards: 70
User-Agent: Asterisk PBX GIT-14-236761aM
Reason: Q.850;cause=0
Content-Length:  0
{noformat}

Dialplan:
{noformat}
exten => 102,1,NoOp()
; same => n,Ringing()                                  
; same => n,Wait(2)                              
same => n,Progress()
same => n,Playback(demo-congrats,noanswer)
same => n,Answer()
same => n,Hangup()
{noformat}
Comments: