[asterisk-bugs] [Asterisk 0013599]: [patch] When unregistering a UA, 200 OK response from Asterisk is not SIP compliant

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 11:50:39 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13599 
====================================================================== 
Reported By:                hjourdain
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13599
Category:                   Channels/chan_sip/Registration
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-02 01:04 CDT
Last Modified:              2008-12-10 11:50 CST
====================================================================== 
Summary:                    [patch] When unregistering a UA, 200 OK response
from Asterisk is not SIP compliant
Description: 
When Asterisk is used as a registrar, and a registered UA is sending a
REGISTER with Expires header set to 0, then usually Asterisk will send back
a 200 OK response, containing a Contact header with the contact to be
removed, and an expires parameter that is set to the previous expiration
value!!!
This is not compliant with RFC 3261!
====================================================================== 

---------------------------------------------------------------------- 
 (0096114) svnbot (reporter) - 2008-12-10 11:50
 http://bugs.digium.com/view.php?id=13599#c96114 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 162738

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r162738 | file | 2008-12-10 11:50:38 -0600 (Wed, 10 Dec 2008) | 6 lines

When a SIP peer unregisters set the expiry time back to 0 so that the 200
OK contains an expires of 0.
(closes issue http://bugs.digium.com/view.php?id=13599)
Reported by: hjourdain
Patches:
      chan_sip.c.diff uploaded by hjourdain (license 583)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=162738 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 11:50 svnbot         Note Added: 0096114                          
======================================================================




More information about the asterisk-bugs mailing list