[asterisk-bugs] [JIRA] (ASTERISK-26382) Double SIP CANCEL with 2 Reason headers

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Thu Sep 15 14:46:01 CDT 2016


Kevin Harwell created ASTERISK-26382:
----------------------------------------

             Summary: Double SIP CANCEL with 2 Reason headers
                 Key: ASTERISK-26382
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26382
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 14.0.0-beta2
            Reporter: Kevin Harwell
            Severity: Minor


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 at h4.sippy.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 at 132.177.253.6>;tag=44ae4c09-59fb-4e59-bd1f-40eb2bfd3132
To: <sip:500 at h4.sippy.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 at h4.sippy.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 at 132.177.253.6>;tag=44ae4c09-59fb-4e59-bd1f-40eb2bfd3132
To: <sip:500 at h4.sippy.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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list