[asterisk-bugs] [Asterisk 0016707]: [patch] Caller name lost during call redirect

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 15 09:45:55 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16707 
====================================================================== 
Reported By:                Nick_Lewis
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   16707
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.4.31
Asterisk Version:           SVN 
JIRA:                       SWP-810 
Regression:                 No 
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:             2010-01-26 10:08 CST
Last Modified:              2010-02-15 09:45 CST
====================================================================== 
Summary:                    [patch] Caller name lost during call redirect
Description: 
Unquoted display names are lost during call redirect. The function
read_to_parts does not use the get_calleridname function but tries to get
the display name directly. It fails to do this for unquoted display names
====================================================================== 

---------------------------------------------------------------------- 
 (0118076) svnbot (reporter) - 2010-02-15 09:45
 https://issues.asterisk.org/view.php?id=16707#c118076 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 246628

_U  branches/1.6.2/

------------------------------------------------------------------------
r246628 | dvossel | 2010-02-15 09:45:55 -0600 (Mon, 15 Feb 2010) | 28
lines

Blocked revisions 246627 via svnmerge

........
  r246627 | dvossel | 2010-02-15 09:45:02 -0600 (Mon, 15 Feb 2010) | 22
lines
  
  chan_sip parse code refactoring plus two new unit tests
  
  Code Refactoring Changes
  - read_to_parts() moved to reqresp_parser.c and has been renamed as
    get_name_and_number()
  - get_in_brackets() moved to reqresp_parser.c
  - find_closing_quotes() added to sip_utils.h
  Logic Changes
  - get_name_and_number() now uses parse_uri() and get_calleridname()
    for parsing. Before this change only names within quotes were
    found, when names not within quotes are possible.
  New Unit Tests
  -sip_get_name_and_number_test
  -sip_get_in_brackets_test
  
  (closes issue https://issues.asterisk.org/view.php?id=16707)
  Reported by: Nick_Lewis
  Patches:
        issue16706.diff uploaded by dvossel (license 671)
  
  Review: https://reviewboard.asterisk.org/r/499/
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-15 09:45 svnbot         Checkin                                      
2010-02-15 09:45 svnbot         Note Added: 0118076                          
======================================================================




More information about the asterisk-bugs mailing list