[Home]

Summary:ASTERISK-16680: No audio when use app_festival
Reporter:Andrea Sannucci (asannucci)Labels:
Date Opened:2010-09-15 07:36:15Date Closed:2011-06-07 14:05:20
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_festival
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hello,

when a try to use festival application, no audio received and the channel still up without no error on the CLI and on the festival Log.

The same configuration work fine on Asterisk 1.6.0.22



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

festival_server.log

client(1) Mon Sep 13 08:01:09 2010 : accepted from localhost
client(1) Mon Sep 13 08:01:09 2010 : disconnected

Astersik CLI

Executing [650@phones:1] Answer("SIP/1000-00000009", "") in new stack
   -- Executing [650@phones:2] Festival("SIP/1000-00000009", "hola mundo!!!") in new stack
 == Parsing '/etc/asterisk/festival.conf':   == Found
Comments:By: Leif Madsen (lmadsen) 2010-09-16 09:07:15

Thank you for taking the time to report this bug and helping to make Asterisk better.

Unfortunately, we cannot work on this bug because your description did not include enough information.

You may find it helpful to read the Asterisk Issue Guidelines http://www.asterisk.org/developers/bug-guidelines.

We would be grateful if you would then provide a more complete description of the problem.

At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).

This likely includes output from the console with debug level logging, a SIP trace (if this is SIP related), and configuration information such as dialplan (e.g. extensions.conf) and channel configuration (e.g. sip.conf).

Thanks!

By: Leif Madsen (lmadsen) 2010-09-16 09:07:59

It would probably also be useful to see the 'rtp debug' when this is happening to make sure the RTP data is flowing to the endpoints correctly.

By: Andrea Sannucci (asannucci) 2010-09-16 09:33:37

Festival.conf
[general]
host=localhost
port=1314
festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n

extensions.conf
exten => 650,1,Answer()
exten => 650,n,Festival(hola mundo!!!)
exten => 650,n,Hangup()

Console:

module load app_festival.so
Loaded app_festival.so
 == Parsing '/etc/asterisk/festival.conf':   == Found
 == Registered application 'Festival'
Loaded app_festival.so => (Simple Festival Interface)

Debug with rtp set debug on:

   -- Executing [650@phones:1] Answer("SIP/1000-00000000", "") in new stack
   -- Executing [650@phones:2] Festival("SIP/1000-00000000", "hola mundo!!!") in new stack
 == Parsing '/etc/asterisk/festival.conf':   == Found
Got  RTP packet from    190.126.221.76:57090 (type 00, seq 005825, ts 2543400, len 000160)

Debug with core set debug 9

   -- Executing [650@phones:2] Festival("SIP/1000-00000001", "hola mundo!!!") in new stack
 == Parsing '/etc/asterisk/festival.conf': [2010-09-16 09:31:05] DEBUG[27408]: config.c:1325 config_text_file_load: Parsing /etc/asterisk/festival.conf
 == Found
[2010-09-16 09:31:05] DEBUG[27408]: app_festival.c:376 festival_exec: Text passed to festival server : hola mundo!!!
[2010-09-16 09:31:05] DEBUG[27408]: app_festival.c:469 festival_exec: Passing text to festival...
[2010-09-16 09:31:05] DEBUG[27408]: app_festival.c:491 festival_exec: Passing data to channel...
[2010-09-16 09:31:05] DEBUG[27408]: app_festival.c:513 festival_exec: Festival WV command

Are you need more info?

Regards

By: Andrea Sannucci (asannucci) 2010-09-24 07:26:07

Hello,

Same behavior with version 1.6.2.13

On version 1.8.beta5 with the same confguration work!

Regards

By: Leif Madsen (lmadsen) 2010-10-04 10:20:31

I'm going to Acknowledge this as I'm not sure what else to ask for, but if the same configuration works on another version I suppose there is something we should look at. My gut instinct is that it's a network issue though.

By: Alec Davis (alecdavis) 2010-10-13 04:05:53

Just guessing :) Try adding Progress() like below

extensions.conf
exten => 650,1,Progress()
exten => 650,n,Answer()
exten => 650,n,Festival(hola mundo!!!)
exten => 650,n,Hangup()

By: greg sharpe (gresh) 2010-10-28 09:40:47

I can confirm that I have encountered the issue on 1.6.2.13.  

As a check I repeated the same steps (and used the same config changes) to add festival to a box running 1.4.26.2 and it worked.

On the server running 1.6.2.13 I tried the suggestion of adding Progress(), but it didn't help.

Without a workaround I think the bug's severity should be increased, as festival appears to be completely broken.

By: David Vossel (dvossel) 2010-12-23 16:36:30.000-0600

Just for fun I tried this running the latests 1.6.2 svn code. I didn't have any problems.

my festival conf file was empty
extensions.conf just had this in it

exten => 6000,1,Answer()
exten => 6000,n,Festival("blahahah")
exten => 6000,n,Hangup()

By: greg sharpe (gresh) 2011-02-14 05:35:35.000-0600

I have now had a chance to test with 1.6.2.16.1 and festival appears to be working correctly again.

By: David Vossel (dvossel) 2011-02-14 10:10:52.000-0600

closed, it works!