Sir thank you very much. It really works. Faisal --- On Mon, 12/1/08, Hadley Rich <hads@nice.net.nz> wrote: From: Hadley Rich <hads@nice.net.nz> Subject: Re: [Freeswitch-users] How to specify Path for sound files To: freeswitch-users@lists.freeswitch.org Date: Monday, December 1, 2008, 11:03 PM On Tuesday 02 December 2008 19:44:21 Faisal Maqsoodi wrote:
Actually i copied the following text in a new text file and saved it as test1.xml file in /conf/dialplan/extensions, where 99999_enum.xml and 00_pizza_demo.xml exist, but it didnt worked. <extension name="wavs"> <condition field="destination_number" expression="^2009$"> <action application="playback"
data="/usr/local/freeswitch/sounds/en/us/callie/misc/8000/call_secured.wav"
/> </condition> </extension> Then i copied the same text and pasted in conf/dialplan/default.xml file below the line <context name="default"> and above the line <extension name="unloop"> and it worked successfully. Hope i ve explained what i wanted to.
Faisal
--- On Mon, 12/1/08, Hadley Rich <hads@nice.net.nz> wrote: From: Hadley Rich <hads@nice.net.nz> Subject: Re: [Freeswitch-users] How to specify Path for sound files To: freeswitch-users@lists.freeswitch.org Date: Monday, December 1, 2008, 9:54 PM
On Tuesday 02 December 2008 18:30:53 Faisal Maqsoodi wrote:
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
It's a little hard to understand what you're saying but I'd hazard a guess that your extension is below the transfer to enum.
Are you creating a separate file in conf/dialplan/default/ ? What are you naming the file? Does it show up below the enum file in a directory listing?
As Anthony said if you set debug logging then you will see what is going on.
hads
People should really quote properly huh. As I suspected you're getting transferred to enum (which the debug logging would have told you). Try naming your file 50-test.xml and seeing what happens. hads -- http://nicegear.co.nz New Zealands Open Source Hardware Supplier _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org