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">On Mon, Apr 4, 2011 at 9:26 PM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div class="im">On Mon, Apr 4, 2011 at 12:12 PM, Stephen Wilde <span dir="ltr">&lt;<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@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">
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 class="im"><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">&lt;action application=&quot;set&quot; data=&quot;execute_on_media=tone_detect mytone 820 wo +30000 set &#39;mytone=true&#39; 2&quot; /&gt;</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>_______________________________________________<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>