[Freeswitch-users] How to specify Path for sound files

Faisal Maqsoodi faisalmaqsoodi at yahoo.com
Mon Dec 1 21:30:53 PST 2008


Yes its not working on my system. When i copy this in default.xml dialplan, it works but as a seperate extension in dialplan/extensions it does'nt.
                                                                                         Faisal

--- On Mon, 12/1/08, Jan Kubr <jan.kubr at gmail.com> wrote:
From: Jan Kubr <jan.kubr at gmail.com>
Subject: Re: [Freeswitch-users] How to specify Path for sound files
To: freeswitch-users at lists.freeswitch.org
Date: Monday, December 1, 2008, 12:55 PM

Hi Faisal,
the path is either an absolute path or a path relative to the
directory in the sound_prefix var in vars.xml.
So this

<action application="playback"
data="/usr/local/freeswitch/sounds/en/us/callie/misc/8000/call_secured.wav"/>

works fine on my box. You sure this one doesn't work for you?

Jan

> I tried to play a sound file using the dialplan given on the link
> http://wiki.freeswitch.org/wiki/Playing_recording_external_media#Play_wav
>
> <action application="playback"
data="/path/to/your.wav"/>
> In place of /path/to/your.wave I used
> "/en/us/callie/misc/8000/call_secured.wav"
>
"/usr/local/freeswitch/sounds/en/us/callie/misc/8000/call_secured.wav"
> "/sounds/en/us/callie/misc/8000/call_secured.wav"
> But none of these is useful bcoz when i call on 2009, which is
> to b dialed to play the sound, same msg is
> displayed "404 NOT FOUND"
> Plz help me out.??? Faisal

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081201/f6e348bb/attachment-0002.html 


More information about the FreeSWITCH-users mailing list