[Voiceglue] FIXED - Weird problem with tts streaming. - but now I need some hints
emiliano esposito
emiespo at tiscali.it
Fri Dec 5 12:24:36 EST 2008
Doug Campbell ha scritto:
> emiliano esposito wrote:
>
>> I brutally changed this in phoneglue:
>>
>> $bytes = join (" ",
>> "STREAM FILE",
>> $filename,
>>
>> to this:
>>
>> $bytes = join (" ",
>> "STREAM FILE",
>> "/var/lib/asterisk/sounds/".$filename,
>>
>> and now it works. So Asterisk was simply looking somewhere else (a thing
>> I would have discovered in no time with a program like FileMon...)!!
>>
>
> You probably want to use strace.
Thanks, I did. Here is the guilty path:
7108 read(28, "STREAM FILE voiceglue/tts/Welcom"..., 4096) = 98
7108 stat64("/usr/share/asterisk/sounds/voiceglue/tts/en/Welcome.vox",
0xb6380fb8) = -1 E
NOENT (No such file or directory)
It is looking into /usr/share/asterisk/sounds (here and somewhere else:
http://jan.saell.org/blog/archives/49 I read this is the default path
for debian/buntu, I'm on Intrepid Ibex, aka 8.10), and also adds that
"en" to the path.
I still don't understand why the day before yesterday it worked, though. :-)
Hope this helps you.
More information about the Voiceglue
mailing list