Martin Smith
2007-Jul-17 20:46 UTC
[asterisk-users] No sound from Festival, but *something* is happening
Hey folks,
So I'm trying to get Festival() working on 1.2.17. I'm trying to use
app_festival:
Here's the show dialplan output from that extension:
'3378' => 1. Answer()
[pbx_config]
2. Festival(Hello Asterisk caller. How is your day?)
[pbx_config]
3. Playback(vm-goodbye)
[pbx_config]
4. Hangup()
[pbx_config]
In the Festival server logs, I actually see:
client(1) Tue Jul 17 16:38:32 2007 : accepted from localhost
client(1) Tue Jul 17 16:38:32 2007 : disconnected
But on the channel in question, I hear "vm-goodbye" and it hangs up.
I've turned on the caching option in /etc/asterisk/festival.conf, and
then looked in the cache directory, and files *are* appearing there.
I'm using the default command:
festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n
Even the verbose output shows it working:
-- Executing Answer("Zap/97-1", "") in new stack
-- Executing Festival("Zap/97-1", "Hello Asterisk caller. How
is
your day?") in new stack
== Parsing '/etc/asterisk/festival.conf': Found
-- Executing Playback("Zap/97-1", "vm-goodbye") in new
stack
-- Playing 'vm-goodbye' (language 'en')
== Spawn extension (default, 3378, 4) exited non-zero on 'Zap/97-1'
-- Executing Hangup("Zap/97-1", "") in new stack
== Spawn extension (default, h, 1) exited non-zero on 'Zap/97-1'
-- Hungup 'Zap/97-1'
Any ideas as to why I can't hear anything? Thanks!
Martin Smith, Systems Developer
martins at bebr.ufl.edu
Bureau of Economic and Business Research
University of Florida
(352) 392-0171 Ext. 221
Anthony Francis
2007-Jul-17 22:39 UTC
[asterisk-users] No sound from Festival, but *something* is happening
Martin Smith wrote:> Hey folks, > > So I'm trying to get Festival() working on 1.2.17. I'm trying to use > app_festival: > > Here's the show dialplan output from that extension: > > '3378' => 1. Answer() > [pbx_config] > 2. Festival(Hello Asterisk caller. How is your day?) > [pbx_config] > 3. Playback(vm-goodbye) > [pbx_config] > 4. Hangup() > [pbx_config] > > In the Festival server logs, I actually see: > > client(1) Tue Jul 17 16:38:32 2007 : accepted from localhost > client(1) Tue Jul 17 16:38:32 2007 : disconnected > > But on the channel in question, I hear "vm-goodbye" and it hangs up. > I've turned on the caching option in /etc/asterisk/festival.conf, and > then looked in the cache directory, and files *are* appearing there. > > I'm using the default command: > festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n > > Even the verbose output shows it working: > -- Executing Answer("Zap/97-1", "") in new stack > -- Executing Festival("Zap/97-1", "Hello Asterisk caller. How is > your day?") in new stack > == Parsing '/etc/asterisk/festival.conf': Found > -- Executing Playback("Zap/97-1", "vm-goodbye") in new stack > -- Playing 'vm-goodbye' (language 'en') > == Spawn extension (default, 3378, 4) exited non-zero on 'Zap/97-1' > -- Executing Hangup("Zap/97-1", "") in new stack > == Spawn extension (default, h, 1) exited non-zero on 'Zap/97-1' > -- Hungup 'Zap/97-1' > > > Any ideas as to why I can't hear anything? Thanks! > > Martin Smith, Systems Developer > martins at bebr.ufl.edu > Bureau of Economic and Business Research > University of Florida > (352) 392-0171 Ext. 221 > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >Change: 2. Festival(Hello Asterisk caller. How is your day?) To: 2. Festival("Hello Asterisk caller. How is your day?") You cannot have spaces without quotes. Hope this helps, Anthony