[asterisk-bugs] [Asterisk 0010596]: SayNumber(0) doesnt work if format_gsm.so isnt loaded

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 30 01:13:57 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10596 
====================================================================== 
Reported By:                junky
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10596
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 81355 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-29-2007 14:39 CDT
Last Modified:              08-30-2007 01:13 CDT
====================================================================== 
Summary:                    SayNumber(0) doesnt work if format_gsm.so isnt
loaded
Description: 
Since, some of my servers are using only format_ulaw.so, I noticed we
couldnt use SayNumber(0) and SAY NUMBER 0 (AGI).

if format_gsm.so is loaded:
    -- Executing [82 at unlimitel-inbound:3] SayNumber("SIP/10-b6135800",
"0") in new stack
    -- <SIP/10-b6135800> Playing 'digits/0.ulaw' (language 'fr')
    -- Auto fallthrough, channel 'SIP/10-b6135800' status is 'UNKNOWN'


if format_gsm.so isnt loaded:
    -- Executing [82 at unlimitel-inbound:3] SayNumber("SIP/10-b6135800",
"0") in new stack
    -- Auto fallthrough, channel 'SIP/10-b6135800' status is 'UNKNOWN'


On another machine:
    -- Executing [82 at from-sip:2] SayNumber("SIP/10-082188c8", "100") in
new stack
[Aug 29 15:47:13] WARNING[20830]: file.c:552 ast_openstream_full: File
digits/1 does not exist in any format




[Aug 29 15:47:13] WARNING[20830]: file.c:802 ast_streamfile: Unable to
open digits/1 (format 0x4 (ulaw)): No such file or directory
[Aug 29 15:47:13] WARNING[20830]: file.c:552 ast_openstream_full: File
digits/hundred does not exist in any format
[Aug 29 15:47:13] WARNING[20830]: file.c:802 ast_streamfile: Unable to
open digits/hundred (format 0x4 (ulaw)): No such file or directory
    -- Executing [82 at from-sip:3] SayNumber("SIP/10-082188c8", "0") in new
stack
   -- Auto fallthrough, channel 'SIP/10-082188c8' status is 'UNKNOWN'


Like we can see, the SayNumber isnt trying to locate the 0.format
====================================================================== 

---------------------------------------------------------------------- 
 jamesgolovich - 08-30-07 01:13  
---------------------------------------------------------------------- 
I tried to duplicate this tonight but I haven't been able to.  What I've
done to test it is:

convert 0.gsm and 1.gsm to 0.ulaw and 1.ulaw
tested it with lang = 'en' and 'fr'
First place call with format_gsm loaded, then unload it.  I also tried to
noload it but that didn't change anything
tested with call coming from zap and sip (shouldn't matter but I saw your
calls were coming from sip)

The only time I can duplicate the 'On another machine' error messages is
if I try to say a digit that the file doesn't exist for.

I must be missing something in my setup when trying to duplicate the
issue. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-30-07 01:13  jamesgolovich  Note Added: 0069684                          
======================================================================




More information about the asterisk-bugs mailing list