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

Jan Kubr jan.kubr at gmail.com
Mon Dec 1 12:55:51 PST 2008


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




More information about the FreeSWITCH-users mailing list