Summary:ASTERISK-08294: [patch] Say Digits does not work correctly
Reporter:Richard Wilkinson (rickead2000)Labels:
Date Opened:2006-12-06 12:37:02.000-0600Date Closed:2007-07-11 19:59:23
Versions:Frequency of
Environment:Attachments:( 0) say-48337-20061206.diff
Description:When using SAY DIGITS and SAY PHONETIC do not play any audio.

Passing the string "SAY DIGITS 1234 '1'" results in asterisk only attempting to play the 1, but no audio is heard.

   -- Executing Answer("SIP/700-b3513910", "") in new stack
   -- Executing DeadAGI("SIP/700-b3513910", "testapp.php|70") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/testapp.php
   -- Playing 'digits/1' (language 'en')
   -- AGI Script testapp.php completed, returning 0

Passing the string "SAY PHONETIC hello '1'" results in asterisk attempting to play all the files, but no audio is heard.

   -- Executing Answer("SIP/700-b350d180", "") in new stack
   -- Executing DeadAGI("SIP/700-b350d180", "testapp.php|70") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/testapp.php
   -- Playing 'phonetic/h_p' (language 'en')
   -- Playing 'phonetic/e_p' (language 'en')
   -- Playing 'phonetic/l_p' (language 'en')
   -- Playing 'phonetic/l_p' (language 'en')
   -- Playing 'phonetic/o_p' (language 'en')
   -- AGI Script testapp.php completed, returning 0

This is returned immediately, there is no time for each letter to have been played.

Application "SAY NUMBER" works as expected.
Comments:By: Richard Wilkinson (rickead2000) 2006-12-06 12:49:46.000-0600

I should add that running these applications from the dialplan itself works fine

By: Serge Vecher (serge-v) 2006-12-06 13:10:50.000-0600

afaik, deadAgi is not to be used with "live" but "hungup" channels.

By: Richard Wilkinson (rickead2000) 2006-12-06 13:49:55.000-0600

I have tried just using "AGI" but it still doesn't seem to work.

I have since realised I can still use these applications through "EXEC", but it would seem there might still be a bug

By: Jason Parker (jparker) 2006-12-06 14:38:08.000-0600

Could you test this patch?  That was one thing I noticed was different between say digits/say phonetic and say number

By: Richard Wilkinson (rickead2000) 2006-12-07 12:31:23.000-0600

That patch resolves the issue

By: Serge Vecher (serge-v) 2007-03-07 15:21:37.000-0600

qwell: any chance of applying the patch?

By: Joshua C. Colp (jcolp) 2007-06-07 19:18:40

Fixed in 1.2 as of revision 68397, 1.4 as of revision 68401, and trunk as of revision 68405.