[asterisk-bugs] [Asterisk 0015716]: [patch] chan_sip fails to destroy channels in INVITE when no response received

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 13 19:21:21 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15716 
====================================================================== 
Reported By:                dant
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15716
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 Yes 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-13 19:15 CDT
Last Modified:              2009-08-13 19:21 CDT
====================================================================== 
Summary:                    [patch] chan_sip fails to destroy channels in INVITE
when no response received
Description: 
In the event that a call is made to a device that is not responding INVITE
packets are reliably transmitted to the device, if the call is hungup the
channel lives forever. 

====================================================================== 

---------------------------------------------------------------------- 
 (0109021) dant (reporter) - 2009-08-13 19:21
 https://issues.asterisk.org/view.php?id=15716#c109021 
---------------------------------------------------------------------- 
The attached patch modifies __sip_autodestruct to also set needdestroy in
the event that lastmsg was Init: INVITE. _sip_autodestruct and this changed
code will be called 32 seconds after the call has ended as scheduled then
needdestroy will be set and after a further 32 seconds __sip_autodestruct
will be run again and as needdestroy is set, call __sip_pretend_ack and
carry on with actually destroying the dialog. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-13 19:21 dant           Note Added: 0109021                          
======================================================================




More information about the asterisk-bugs mailing list