Festival installation with Asterisk 1.2.7 / Mandriva2006

Hello world

I’m trying to use Festival with asterisk 1.2.7 on Mandriva 2006
I haven’t need to install Festival
It is present in /usr/share/festival (1.4.3 release)
I haver followed the instruction given on the
voip-info.org/wiki/index.php … stallation

The Log file for the festival server process gives
"Load server start /var/log/asterisk//festival_server.scm"
wrapper jeu jun 15 17:48:09 CEST 2006 : USING DEFAULT CONFIGURATION
wrapper jeu jun 15 17:48:09 CEST 2006 : waiting
server Thu Jun 15 17:48:09 2006 : Festival server started on port 1314
client(1) Thu Jun 15 17:48:25 2006 : accepted from smith1.softnet.local
client(1) Thu Jun 15 17:48:25 2006 : disconnected

So it seems that the Client cannot connect to the server festival.

I have launched the festival server with the following
/bin/sh /usr/bin/festival_server -p 1314 -l /var/log/asterisk/ &

and the process which are running are

[root@smith1 TranslateURL-8khz]# ps -ef | grep festival
root 10093 22704 0 17:48 pts/10 00:00:00 /bin/sh /usr/bin/festival_server -p 1314 -l /var/log/asterisk/
root 10103 10093 47 17:48 pts/10 00:16:21 festival --server /var/log/asterisk//festival_server.scm

bu I am surprised because in my dian plan (extensions.conf)
I have the following

exten => _72963251XX,1,Answer()
exten => _72963251XX,n,Festival, ‘Hello asterisk user, how are you today?’
=> that is OK I can hear something
but I have no traces on asterisk CLI console
(traces which normally are related to
WARNING1209269552: File app_festival.c, Line 304 (festival_exec):…

Later in the diaplan I am trying another command

exten => _72963251XX,n,Festival,'Mary has a little lamb’
And this time nothing happens (i can’t hear nothing) and the call remains connected

– AGI Script ex-perl.eagi completed, returning 0
– Executing NoOp(“SIP/7296325051-1bfe”, “URL: mark.mcroy@micronics.us”) in new stack
– Executing Festival(“SIP/7296325051-1bfe”, " ‘Hello asterisk user, how are you today?’") in new stack
== Parsing ‘/etc/asterisk/festival.conf’: Found
– Executing Festival(“SIP/7296325051-1bfe”, “‘Mary has a little lamb’”) in new stack
== Parsing ‘/etc/asterisk/festival.conf’: Found

Even I have no debian system, i have tried to add
in /usr/share/festival/lib/festival.scm an additionnal line
but it is not enough
(set! server_access_list '(localhost))

Any help would be welcome

I am trying to figure out why my installation of asterisk did not have a /usr/share/festival/festival.scm already there. Do I have to create it? I was never told that in in the documentation.

Please help me, I am googling already for hours and no sign of solutions or hints.

Many thanks, encouragements,

solve it using:

conary update festival
and then followed the instructions. The additions to scm file were already there and I just needed to run the festival server. In any case text2wave is there.
Now I am trying to find a good php example on how to use this with php.