[Asterisk-Users] Festival Problems

Borut Senicar Borut.Senicar at WebAfna.Com
Wed Sep 24 12:57:15 MST 2003


> > I have exactly the same symptoms with app_festival and I
> suspect that
> > send_waveform_to_channel routine in app_festival.c doesn't work
> > correctly.
> >
> > Festival works correctly since it sends wave file to asterisk, which
> > saves it in cache. If I strip app_festival header in that file I can
> > play it. The problem lies in playback of this wave to channel. Ant
> > ideas?
>
> I didn't see an extensions.conf snippit that goes along with
> this, but I'm
> going to guess that the channel hasn't been Answered before
> the Festival
> app is being executed

It is answered but * just drops the connection when reached Festival
application in dialplan:

[home-trusted]
exten => 1000,1,answer
exten => 1000,2,SayDigits(123)
exten => 1000,3,Festival(Connect to Festival)
exten => 1000,4,Wait(5)
exten => 1000,5,Festival(send the argument)
exten => 1000,6,Hangup

Trace from console:

    -- Executing Answer("SIP/bsenicar-850b", "") in new stack
    -- Executing SayDigits("SIP/bsenicar-850b", "123") in new stack
    -- Playing 'digits/1'
    -- Playing 'digits/2'
    -- Playing 'digits/3'
    -- Executing Festival("SIP/bsenicar-850b", "Connect to Festival") in
new stack
  == Parsing '/etc/asterisk/festival.conf': Found
WARNING[147466]: File app_festival.c, Line 304 (festival_exec): Text
passed to festival server : Connect to Festival
WARNING[147466]: File app_festival.c, Line 353 (festival_exec): line
length : 19
WARNING[147466]: File app_festival.c, Line 357 (festival_exec): Seek
position : 23
WARNING[147466]: File app_festival.c, Line 381 (festival_exec): Passing
text to festival...
WARNING[147466]: File app_festival.c, Line 390 (festival_exec): Writing
result to cache...
WARNING[147466]: File app_festival.c, Line 400 (festival_exec): Passing
data to channel...
  == Spawn extension (home-trusted, 1000, 3) exited non-zero on
'SIP/bsenicar-850b'

Somebody suggested that enclosing arguments with single quotes will
help, but in case result was same.

Best regards
Borut








More information about the asterisk-users mailing list