Thank you Michael, with this trick it works fine!<br><br><div class="gmail_quote">On Tue, Mar 22, 2011 at 6:33 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Add this to your dialplan...</div><div><br></div><div><font face="'courier new', monospace"><extension name="start tone detect"></font></div>
<div>
<font face="'courier new', monospace"> <condition field="destination_number" data="custom_start_tone_detect"></font></div><div><font face="'courier new', monospace"> <action application="sleep" data="500"/></font></div>
<div><font face="'courier new', monospace"> <action application="tone_detect" data="MYTONE 680 ro +5000 set MYTONE=1"/></font></div><div>
<font face="'courier new', monospace"> </condition></font></div><div><font face="'courier new', monospace"></extension><br></font><br></div><div>
...then change your export...</div><div><font face="'courier new', monospace"><action application="export" data="nolocal:execute_on_answer=execute_extension custom_start_tone_detect"/></font></div>
<div><br></div><div>Let us know if that does the trick.</div><div><br></div><div>-MC</div><div><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Mar 21, 2011 at 12:33 PM, Stephen Wilde <span dir="ltr"><<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div>I start the tone_detect on answer using "execute_on_answer" as:</div>
<div><br></div><div><action application="export" data="nolocal:execute_on_answer=tone_detect MYTONE 680 ro +5000 set MYTONE=1" /></div>
<div><br></div><div>but I have the necessity to start the tone_detect for example 500ms after answer: there is a way to do that in dialplan?</div>
<br></div></div>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
<br></blockquote></div><br></div>
<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>
<br></blockquote></div><br>