[asterisk-bugs] [Asterisk 0016708]: [patch] Introduce function for parsing ABNF name-andor-addr = name-addr / addr-spec

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 5 09:08:04 CST 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16708 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16708
Category:                   Channels/General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
JIRA:                       SWP-811 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-26 10:35 CST
Last Modified:              2010-03-05 09:08 CST
====================================================================== 
Summary:                    [patch] Introduce function for parsing ABNF
name-andor-addr = name-addr / addr-spec
Description: 
Many sip headers in many sip methods contain the ABNF structure
 name-andor-addr = name-addr / addr-spec
Examples include the to-header, from-header, contact-header,
replyto-header

At the moment chan_sip.c makes various different attempts to parse this
name-andor-addr structure for each header type and for each sip method with
sometimes limited degrees of success.

I recommend that this name-andor-addr structure be parsed by a dedicated
function and that it be used irrespective of the specific method or header
that contains the name-andor-addr structure
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-05 09:08 Nick_Lewis     Summary                  Introduce function for
parsing ABNF name-andor-addr = name-addr / addr-spec => [patch] Introduce
function for parsing ABNF name-andor-addr = name-addr / addr-spec
======================================================================




More information about the asterisk-bugs mailing list