[VoIP] Asterisk won't play sound (voice prompt) files

Jack Ryan doctor.jack.ryan at gmail.com
Wed Mar 5 04:13:13 CST 2008


Well, I rolled up my sleeves and delved into the source code in an attempt
to solve the problem. As I am new to asterisk and to linux I don't know how
previous versions worked but it seems that someone has decided to change the
location the sound files are read from without telling those who setup the
default configuration files.

In asterisk.conf I changed

astdatadir => /usr/share/asterisk

to

astdatadir => /var/lib/asterisk

and behold, there was sound.

I'm sure there will be side effects but what would life be without
surprises?

Jack


On 04/03/2008, Jack Ryan <doctor.jack.ryan at gmail.com> wrote:
>
> Hi John,
>
> Asterisk is version 1.4.18. I downloaded, built and installed yesterday as
> a way of "starting again". Asterisk started again but it did it silently
> again.
>
> The error is: "the file is not there."
>
> So either asterisk is looking somewhere else (not in
> /var/lib/asterisk/sounds) or the "find a compatible file type" logic doesn't
> work. Either way I would have thought someone else would have the same
> problem.
>
> I don't like being special.
>
> Jack
>
>


More information about the VoIP mailing list