[Asterisk-Users] Asterisk and Festival, getting gethostbyname failed error

Chris Samaritoni chris at tierra.net
Wed Oct 6 10:35:30 MST 2004


I've installed festival 1.4.3, I've applied the proper patches and 
everthing seems to have gone fine. So I edited the festival.conf file 
per the Wiki

; Festival Configuration
[general]
host=localhost
port=1314
usecache=yes
cachedir=/var/lib/asterisk/festivalcache/
festivalcommand=(tts_textasterisk "%s" 'file)(quit)\n

I added the following extension

exten => 5001,1,Answer
exten => 5001,2,Festival(mary had a little lamb)
exten => 5001,3,Hangup

I made sure to start the festival server up before running Asterisk, but 
I get the following error from asterisk:

     -- Executing Festival("SIP/125-03f4", "mary had a little lamb") in 
new stack
   == Parsing '/etc/asterisk/festival.conf': Found
Oct  6 10:23:06 WARNING[-180528208]: app_festival.c:335 festival_exec: 
festival_client: gethostbyname failed

I noticed if I don't even run the festival server it still gets this 
error. I've tried changing host in the festival.conf file to 127.0.0.1, 
I've tried the name of the server, to the IP address of the server it 
all gets the same error. localhost resolves fine, the name of the server 
resolves fine.

I've tried to search through the archives, but I didn't see this error 
occurring for anyone else.

Thanks,
Chris



More information about the asterisk-users mailing list