[Asterisk-bugs] [Asterisk 0010083]: SayAlpha() and SayPhonetic() fail when encountering unknown symbols, hanging up on the calling channel.

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 6 13:23:15 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10083 
====================================================================== 
Reported By:                jsmith
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10083
Category:                   Applications/General
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 72451 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             06-28-2007 13:11 CDT
Last Modified:              07-06-2007 13:23 CDT
====================================================================== 
Summary:                    SayAlpha() and SayPhonetic() fail when encountering
unknown symbols, hanging up on the calling channel.
Description: 
For example, if SayAlpha() or SayPhonetic() encounter a comma in the
string, they'll exit and hang up on the calling channel.

I've written a patch to simply skip over the offending character and
continue on reading more characters.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0005208 [patch] SayAlpha does not read special ...
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 07-06-07 13:23  
---------------------------------------------------------------------- 
How about like that instead?  If it actually fails to play the sound, we do
want to hangup, but if the file simply doesn't exist, we're okay. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-06-07 13:23  qwell          Note Added: 0066621                          
======================================================================




More information about the Asterisk-bugs mailing list