[asterisk-bugs] [Asterisk 0016298]: [patch] After upgrading to asterisk 1.4.27 Optipoint SIP phone can no longer register

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 7 12:10:37 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16298 
====================================================================== 
Reported By:                mgernoth
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16298
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.4.29
Asterisk Version:           SVN 
JIRA:                       SWP-446 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-11-21 07:30 CST
Last Modified:              2009-12-07 12:10 CST
====================================================================== 
Summary:                    [patch] After upgrading to asterisk 1.4.27 Optipoint
SIP phone can no longer register
Description: 
SVN revision 218578 (Send request contact header field with response to
registrer queries instead of the address of record) introduced a change in
the generation of SIP Contact-Header fields. After this change, my
Optipoint 400 SIP phone thinks it is not registered to asterisk, but
asterisk has a working registration.
In sip debug traces (attached), I see that 1.4.26 sends the Contact-Header
in the final REGISTER  response as "Contact:
<sip:13 at 192.168.50.254:5060;transport=udp>;expires=605" whereas 1.4.27
sends "Contact: sip:13 at 192.168.50.254:5060;transport=udp;expires=605" which
misses the angle brackets and seems to confuse the phone.

Reverting that one patch leads to a working 1.4.27 where Optipoint phones
are able to register again.
====================================================================== 

---------------------------------------------------------------------- 
 (0114859) svnbot (reporter) - 2009-12-07 12:10
 https://issues.asterisk.org/view.php?id=16298#c114859 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 233475

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r233475 | dvossel | 2009-12-07 12:10:37 -0600 (Mon, 07 Dec 2009) | 22
lines

Merged revisions 233472 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r233472 | dvossel | 2009-12-07 12:08:46 -0600 (Mon, 07 Dec 2009) | 15
lines
  
  Merged revisions 233471 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r233471 | dvossel | 2009-12-07 12:07:38 -0600 (Mon, 07 Dec 2009) | 9
lines
    
    fixes missing Contact header angle brackets
    
    (closes issue https://issues.asterisk.org/view.php?id=16298)
    Reported by: mgernoth
    Patches:
          reg_parse_issue_1.4.diff uploaded by dvossel (license 671)
    Tested by: dvossel
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-07 12:10 svnbot         Checkin                                      
2009-12-07 12:10 svnbot         Note Added: 0114859                          
======================================================================




More information about the asterisk-bugs mailing list