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

Lee Spenadel spenadel at gmail.com
Wed Mar 5 06:40:28 CST 2008


Nice work Jack, but with Open Source code, not surprising.

-----Original Message-----
From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] On Behalf Of
Jack Ryan
Sent: Wednesday, March 05, 2008 5:13 AM
To: Voice Over IP Tandem for Analog Switches
Subject: Re: [VoIP] Asterisk won't play sound (voice prompt) files

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
>
>
_______________________________________________
VoIP mailing list
VoIP at ckts.info
http://lists.ckts.info/mailman/listinfo/voip
Project Web Page: http://www.ckts.info/



More information about the VoIP mailing list