&nbsp;<b>Hi,<br><br>I want to get the events for the tone detect but i cant able to get any events,<br><br>Procedures i follow to done detect:</b><br><br>
<font style="color: rgb(255, 153, 0);" size="4">Step 1:I have added the line in default.xml</font><br><br>&nbsp;&nbsp; &lt;extension name=&quot;Local_Extension&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^(1[0-9][0-9][0-9])$&quot;&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;dialed_ext=$1&quot;/&gt;&nbsp;&nbsp;<b>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;tone_detect&quot; data=&quot;fax 1100 r +5000 transfer fax XML default&quot; /&gt;
===&gt;I have add this line </b><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;answer&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;info&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;export&quot; data=&quot;Answer-State&quot;/&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;log&quot; data=&quot;INFO Answer-State [${Answer-State}]\n&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;record_session&quot; data=&quot;$${base_dir}/recordings/${destination_number}_${caller_id_number}.wav&quot;/&gt;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;export&quot; data=&quot;dialed_ext=$1&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br><b><br>I have added the line to detect fax.</b><br><pre><font size="2"><font size="2"><span style="font-family: arial,helvetica,sans-serif;">&lt;context name=&quot;default&quot;&gt;</span>
<span style="font-family: arial,helvetica,sans-serif;">    &lt;extension name=&quot;fax&quot;&gt;</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">      &lt;condition field=&quot;destination_number&quot; expression=&quot;^fax$&quot;&gt;</span>
<span style="font-family: arial,helvetica,sans-serif;">        &lt;action application=&quot;answer&quot;/&gt;</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">        &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;</span>
<span style="font-family: arial,helvetica,sans-serif;">        &lt;action application=&quot;set&quot; data=&quot;fax_file_name=/tmp/fax/${caller_id_number}-${strftime(%Y-%m-%d-%H-%M-%S)}.tiff&quot;/&gt;</span>
<span style="font-family: arial,helvetica,sans-serif;">        &lt;action application=&quot;set&quot; data=&quot;fax_mode=recv&quot;/&gt;</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">        &lt;action application=&quot;socket&quot; data=&quot;<a href="http://127.0.0.1:8084/" target="_blank">127.0.0.1:8084</a> async&quot;/&gt;</span>
<span style="font-family: arial,helvetica,sans-serif;">        &lt;action application=&quot;hangup&quot;/&gt;</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">      &lt;/condition&gt;</span>
<span style="font-family: arial,helvetica,sans-serif;">    &lt;/extension&gt;</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">&lt;/context&gt;</span></font></font></pre>
<font size="4"><span style="color: rgb(255, 153, 0);">Step 2:Then reloaded freeswitch console using reloadxml command</span><br><font size="2">reloadxml<br>API CALL [reloadxml()] output:<br>+OK [Success]<br><br>2009-01-09 17:49:51 [INFO] mod_enum.c:806 event_handler() ENUM Reloaded<br>

2009-01-09 17:49:51 [INFO] switch_time.c:656 switch_load_timezones() Timezone reloaded 530 definitions</font><br><br></font><font style="color: rgb(255, 153, 0);" size="4">Step3:Through x-lite i have dial the fax no </font><b style="color: rgb(255, 153, 0);">(43951333)</b><br>
<font size="4"><br><span style="color: rgb(255, 153, 0);">Step4:I have passed events through event socket</span></font><br><b><br>event plain DETECTED_TONE</b><br><br>Content-Type: command/reply<br>
Reply-Text: +OK event listener enabled plain&nbsp;&nbsp;&nbsp; ====&gt;But i did not get any events in the event socket when i dial the fax no <br><br><font size="4"><span style="color: rgb(255, 153, 0);">Step 5:I have pasted the freeswitch log in the link </span><b><font style="color: rgb(51, 102, 255);" size="2"><a href="http://pastebin.freeswitch.org/6713">http://pastebin.freeswitch.org/6713</a></font></b></font><br>
<br style="color: rgb(255, 0, 0);"><b style="color: rgb(255, 0, 0);">I need to get the fax tone detect but i cant able to detect the fax tone. If any thing is wrong correct me and help to solve the problem.</b><br><br><br>
--&nbsp; <br>Warm Regards,<br>N.Baskar<br><br>