[Home]

Summary:ASTERISK-10194: SayNumber(0) doesnt work if format_gsm.so isnt loaded
Reporter:Clod Patry (junky)Labels:
Date Opened:2007-08-29 14:39:31Date Closed:2007-10-18 01:40:47
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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@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@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@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@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

****** ADDITIONAL INFORMATION ******

the same issue occurs on SAY NUMBER 0 in an AGI, since its calling ast_say_number_full() too.

Other SayNumber seems to work great.
Comments:By: James Golovich (jamesgolovich) 2007-08-30 01:13:56

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.

By: Joshua C. Colp (jcolp) 2007-08-30 11:37:12

I too was unable to reproduce this issue, as long as I made sure the ulaw sounds were installed.

By: Tilghman Lesher (tilghman) 2007-10-18 01:40:47

Reopen if you can create a set of steps needed to reproduce this issue.