[Voiceglue] FIXED - Weird problem with tts streaming. - but now I need some hints

Doug Campbell voiceglue at campbellcastle.com
Fri Dec 5 10:12:14 EST 2008


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.

> Now I kindly ask you, why did this happen? Does some configuration file 
> need to be fixed?

If asterisk isn't looking in /var/lib/asterisk/sounds for audio files,
where the heck is it looking???  The /var/lib/asterisk/sounds location
is quite standard, and is always reported as such in the docs.
I would be most interested if you could run an strace to see
where asterisk is looking in the original failure case.

Doug Campbell


More information about the Voiceglue mailing list