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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 9 11:32:06 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:                     feedback
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:              
====================================================================== 
Date Submitted:             2010-01-26 10:08 CST
Last Modified:              2010-02-09 11:32 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
====================================================================== 

---------------------------------------------------------------------- 
 (0117893) Nick_Lewis (reporter) - 2010-02-09 11:32
 https://issues.asterisk.org/view.php?id=16707#c117893 
---------------------------------------------------------------------- 
It looks good to me (at least as good as the best attempt elsewhere in
chan_sip.c to parse a to-header, from-header or contact-header)

I think that the name of the function could be genericized a bit to
something like get_name_and_number. The function can be used widely for
callerid purposes and some types of DID so it is confusing to have "to" or
"redirect" in the title 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-09 11:32 Nick_Lewis     Note Added: 0117893                          
======================================================================




More information about the asterisk-bugs mailing list