If you need multiple tone detects then definitely use the first method. I&#39;ve done as many as 6 tone_detects on a single call and it works well.<div>-MC<br><br><div class="gmail_quote">On Sun, Aug 28, 2011 at 1:13 PM, Rob Hutton <span dir="ltr">&lt;<a href="mailto:justlikeef@gmail.com">justlikeef@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I am trying to get tone detection set up so that a single number can be used for both voice and fax.  Tone detection needs to run concurrent to the normal call processing, so that a call proceeds normally unless the fax tones are heard.<br>

<br>
On this wiki page (<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_fax_detect" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_fax_detect</a>) it gives the format:<br>
<br>
&lt;action application=&quot;tone_detect&quot; data=&quot;fax 1100 r +5000 transfer fax XML default&quot; /&gt;<br>
<br>
and an associated dialplan entry for the call to be transfered to that actually handles the fax reception.<br>
<br>
On this wiki page (<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect</a>) it says that the format from the first page is not the preferred method, and that the format should be something like:<br>

<br>
&lt;action application=&quot;set&quot; data=&quot;execute_on_tone_detect=transfer fax XML default&quot;/&gt;<br>
&lt;action application=&quot;set&quot; data=&quot;tone_detect_hits=1&quot;/&gt;<br>
&lt;action application=&quot;set&quot; data=&quot;execute_on_media=tone_detect mytone 1100 r +5000&quot;/&gt;<br>
<br>
My question is, using the first format, I could set up multiple detections, eg. one for fax tones that sends/receives a fax, one for answering machines tone that hangs up, etc.<br>
<br>
Is this possible with the preferred syntax?<br>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>