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