[asterisk-bugs] [JIRA] (ASTERISK-20784) Failure to receive an ACK to a SIP Re-INVITE results in a SIP channel leak

Walter Doekes (JIRA) noreply at issues.asterisk.org
Tue Aug 12 09:10:30 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221575#comment-221575 ] 

Walter Doekes commented on ASTERISK-20784:
------------------------------------------

Looks like I ran into this right now.

In my case it always goes like this:

{noformat}
cseq 103
  --reINVITE-->
  <----100-----
  <----491-----
  -----ACK---->
(asterisk reschedules the reinvite)

peer-cseq 4
  <----BYE-----
  -----200---->

cseq 104
  --reINVITE-->
  <----100-----
(the 481 is lost)
{noformat}

Not entirely sure if it's the same, since in this case we fail to receive a final response to the invite, but it looks pretty related.

The refcount of the sip dialog object is 3. The open calls are 0.

> Failure to receive an ACK to a SIP Re-INVITE results in a SIP channel leak
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-20784
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20784
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: SVN
>         Environment: Debian squeeze x86_64
>            Reporter: NITESH BANSAL
>         Attachments: patch_asterisk_20784.txt
>
>
> {noformat}
> A INVITE> asterisk INVITE> B
> A <200 OK asterisk <200 OK B
> A -ACK-> asterisk --ACK--> B
> asterisk <INVITE B
> asterisk 200 OK> B
> (ack lost)
> A -BYE--> asterisk
> A <200 OK asterisk
> {noformat}
> No bye is generated on the B leg and there is a hanging sip channel also.
> This issue was detected as regression of the issue ASTERISK-15879



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



More information about the asterisk-bugs mailing list