Ok, I have first tried with:<div><br></div><div><action application="set" data="execute_on_media=tone_detect mytone 820 wo +30000 execute_extension 'myextension XML myextension' 2" /></div>
<div><br></div><div>and myextension is NOT executed after tone detection.</div><div><br></div><div>Stephen</div><div><br></div><div><br><br><div class="gmail_quote">On Mon, Apr 4, 2011 at 10:12 PM, 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;">Try doing an execute_extension or some other app, just to see if you can narrow down where the issue is.<div>-MC<div><div>
</div><div class="h5"><br><br><div class="gmail_quote">On Mon, Apr 4, 2011 at 1:07 PM, Stephen Wilde <span dir="ltr"><<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have tried with single quotas: no change, the tone is detected but the set is not executed.<div><br></div><div>stephen<br>
<br><div class="gmail_quote"><div><div></div><div>On Mon, Apr 4, 2011 at 9:26 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</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><br><br><div class="gmail_quote"><div>On Mon, Apr 4, 2011 at 12:12 PM, Stephen Wilde <span dir="ltr"><<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you Michael, yes, I expect that the variable will be in legA.<div><br></div><div>Stephen</div></blockquote><div><br></div></div><div>Try putting the app argument in single quotes:</div><div><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><action application="set" data="execute_on_media=tone_detect mytone 820 wo +30000 set 'mytone=true' 2" /></span></div>
<div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><br></span></div></div><font color="#888888"><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">-MC</span></div>
</font></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" 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></div></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></div>