[VoIP] Asterisk won't play sound (voice prompt) files
Jack Ryan
doctor.jack.ryan at gmail.com
Wed Mar 5 16:47:33 CST 2008
Hi Shane,
I used the package for Fedora but it wouldn't play sounds. That was why I
removed it and installed the compiled version. Still, the error was made by
the Fedora people. Their configuration files were modified to use
astdatadir => /usr/share/asterisk
but their binaries use
astdatadir => /var/lib/asterisk
After I removed Fedora's binaries I was still using their configuration
files hence the compiled asterisk still would not play sounds.
Why do they bother customising it?
Jack
On 05/03/2008, Shane Young <voiptandem at shaneyoung.com> wrote:
>
> Jack
>
> It seems like /usr/share/asterisk is used on some systems which have
> their own asterisk package such as Debian, Ubuntu, etc.
>
> Did you use a package for your specifc distribution, or did you just
> download the source and compile it?
>
> --Shane
>
>
> Quoting Lee Spenadel <spenadel at gmail.com>:
>
> > 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/
> >
> > _______________________________________________
> > VoIP mailing list
> > VoIP at ckts.info
> > http://lists.ckts.info/mailman/listinfo/voip
> > Project Web Page: http://www.ckts.info/
> >
>
> --Shane
> +1-821-7311 CNET
>
> ----------------------------------------------------------------
>
> _______________________________________________
> 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