[asterisk-bugs] [Asterisk 0013643]: [patch] Issue #0013486 not resolved (enc_cidname versus cidname for ${VM_CALLERID})

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 7 15:39:17 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13643 
====================================================================== 
Reported By:                tomo1657
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13643
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 147263 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-07 15:35 CDT
Last Modified:              2008-10-07 15:39 CDT
====================================================================== 
Summary:                    [patch] Issue
http://bugs.digium.com/view.php?id=13486 not resolved (enc_cidname versus
cidname for ${VM_CALLERID})
Description: 
Thanks Corydon76 for the patch, but although VM_CIDNAME and VM_CIDNUM have
been dealt with VM_CALLERID still yields different results depending on if
callerid is NULL or empty string.

Perhaps modifying ast_callerid_merge() to treat both NULL and empty string
caller ID the same way is the solution?

I've attached a patch for this where ast_callerid_merge() uses
!ast_strlen_zero() to check for string length for name and num.



====================================================================== 

---------------------------------------------------------------------- 
 (0093334) tomo1657 (reporter) - 2008-10-07 15:39
 http://bugs.digium.com/view.php?id=13643#c93334 
---------------------------------------------------------------------- 
This is a patch for main/callerid.c so perhaps I should have changed the
category... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-07 15:39 tomo1657       Note Added: 0093334                          
======================================================================




More information about the asterisk-bugs mailing list