I was hoping that Asterisk had the equivalent of a $PATH variable for sounds... guess not.
-Philip On 11/01/2009 03:05 PM, Cleveland Electronic Services wrote: > Just to add to this.. > > Try playback(custom-sounds/foo) > > Cleve Jansen > +613 97963635 > +613 97963065 > +61418107548 > mailto:[email protected] > http://www.clevelandelectronicservices.com > > -----Original Message----- > From: Darrick Hartman [mailto:[email protected]] > Sent: Monday, 2 November 2009 7:17 AM > To: AstLinux Users Mailing List > Subject: Re: [Astlinux-users] Using custom-sounds directory > > Try > > playback(custom-sounds/ rd-listofexten) > > Philip A. Prindeville wrote: > >> So I have a question about /var/lib/asterisk/sounds/custom-sounds/ ... >> this is a link to /mnt/kd/custom-sounds. That's fine. >> >> So I put some files there (wav's). >> >> But when I do a playback of "x" it tells me it's not found: >> >> -- Executing [...@redfish-internal:1] NoOp("SIP/remote_1-084c0110", >> > "Exten: 117") in new stack > >> -- Executing [...@redfish-internal:2] >> > Playback("SIP/remote_1-084c0110", "rd-listofexten") in new stack > >> [Nov 1 13:09:56] WARNING[9427]: file.c:650 ast_openstream_full: File >> > rd-listofexten does not exist in any format > >> [Nov 1 13:09:56] WARNING[9427]: file.c:950 ast_streamfile: Unable to open >> > rd-listofexten (format 0x4 (ulaw)): No such file or directory > >> [Nov 1 13:09:56] WARNING[9427]: app_playback.c:471 playback_exec: >> > ast_streamfile failed on SIP/remote_1-084c0110 for rd-listofexten > >> >> pbx ~ # ls /mnt/kd/custom-sounds >> rd-dem666.wav rd-invalidani.wav rd-philip111.wav >> rd-directory.wav rd-lib667.wav rd-telemarketer119.wav >> rd-fax115.wav rd-listofexten.wav rd-urgent114.wav >> rd-ifyouknow.wav rd-office112.wav >> pbx ~ # >> >> >> >> Is there a way to add the directory >> /var/lib/asterisk/sounds/custom-sounds to the "path" where sounds are >> looked for? >> >> -Philip >> >> >> >> > ---------------------------------------------------------------------------- > -- > >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Astlinux-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to >> > [email protected]. > > > ---------------------------------------------------------------------------- > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [email protected]. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [email protected]. > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
