[asterisk-bugs] [Asterisk 0015008]: [patch] Introduce better parsing for the register line

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 21 16:12:47 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15008 
====================================================================== 
Reported By:                tilghman
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15008
Category:                   Channels/chan_sip/Registration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 191365 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-04-30 17:12 CDT
Last Modified:              2009-08-21 16:12 CDT
====================================================================== 
Summary:                    [patch] Introduce better parsing for the register
line
Description: 
People have asked for the ability to use characters that are otherwise used
as delimiters in the register line, such as '/', '@', and ':'.  In the
past, we've had to say no, because the register line is very simply
parsed.

This patch allows any part of the register line to be quoted, and the
section within the quote may contain any of these special characters. 
Literal quotes and literal backslashes may be added to these fields by
prefixing them with a backslash.  Also, if no quotes are used around a
particular field, the delimiter character may be preceded with a backslash,
to encode that literal character within the field.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015672 ? in register= string breaks registration
====================================================================== 

---------------------------------------------------------------------- 
 (0109483) svnbot (reporter) - 2009-08-21 16:12
 https://issues.asterisk.org/view.php?id=15008#c109483 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 213636

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

------------------------------------------------------------------------
r213636 | dvossel | 2009-08-21 16:12:47 -0500 (Fri, 21 Aug 2009) | 12
lines

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

........
  r213635 | dvossel | 2009-08-21 16:02:50 -0500 (Fri, 21 Aug 2009) | 5
lines
  
  fixes sip register parsing when user at domain is used
  
  (issue https://issues.asterisk.org/view.php?id=15008)
  (issue https://issues.asterisk.org/view.php?id=15672)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-21 16:12 svnbot         Checkin                                      
2009-08-21 16:12 svnbot         Note Added: 0109483                          
======================================================================




More information about the asterisk-bugs mailing list