[asterisk-users] Asterisk cant play sounds from AGI
Steve Edwards
asterisk.org at sedwards.com
Fri Jul 11 21:46:28 CDT 2008
On Fri, 11 Jul 2008, Edwin Quijada wrote:
> I recorded the sound using Cepstral. This is my AGI
> I thought maybe was my sound card but this works fine
Why would you think it was the sound card?
1) Try enabling AGI debugging. For 1.2, enter "agi debug" and then execute
your agi. The important part should look like:
AGI Rx << STREAM FILE "/var/lib/asterisk/tts/tts-5f45f4c8732d220207032bb30a4398ee" ""
AGI Tx >> 200 result=0 endpos=9072
Note there is no file type and the "" (the escape digits) at the end of
the "Rx" line.
If you get something different, please post it.
2) Are your file ownership and permissions OK? Try:
ls -dl /var/lib/asterisk/sounds/tts/
ls -l /var/lib/asterisk/sounds/tts/
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list