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