Sometimes the new eye is the one that sees the obvious. You are quite correct. An action MUST be inside a condition, no exceptions. I suspect your edited version of the condition block will function as the OP hopes it would.<br>
<br>-MC<br><br><div class="gmail_quote">On Thu, Feb 28, 2013 at 10:05 AM, Steven Schoch <span dir="ltr">&lt;<a href="mailto:schoch+freeswitch.org@xwin32.com" target="_blank">schoch+freeswitch.org@xwin32.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">On Thu, Feb 28, 2013 at 12:20 AM, Denis Gasparin <span dir="ltr">&lt;<a href="mailto:denis.gasparin@edistar.com" target="_blank">denis.gasparin@edistar.com</a>&gt;</span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="font-size:12pt;font-family:Arial"><div><br></div>

<div><span>The extension MYSETUP is:</span></div><div><span><div>&lt;extension name=&quot;MYSETUP_EXTENSION&quot;&gt;</div><div>        &lt;condition field=&quot;destination_number&quot; expression=&quot;^MYSETUP$&quot;/&gt;</div>

<div>        &lt;action application=&quot;log&quot; data=&quot;INFO MYSETUP exec&quot;/&gt;</div><div><span style="font-size:12pt">&lt;/extension&gt;</span></div></span></div></div></blockquote><div><br></div></div><div>
I&#39;m rather new at this, so I could be wrong, but I believe an action must be contained inside a condition.  So extension from above should be:</div>
<div><br></div><div><div class="im"><div style="font-family:Arial;font-size:16px">&lt;extension name=&quot;MYSETUP_EXTENSION&quot;&gt;</div><div style="font-family:Arial;font-size:16px">        &lt;condition field=&quot;destination_number&quot; expression=&quot;^MYSETUP$&quot;&gt;</div>

</div><div class="im"><div style="font-family:Arial;font-size:16px">            &lt;action application=&quot;log&quot; data=&quot;INFO MYSETUP exec&quot;/&gt;</div></div><div style="font-family:Arial;font-size:16px">        &lt;/condition&gt;</div>
<div style="font-family:Arial;font-size:16px">
<span style="font-size:12pt">&lt;/extension&gt;</span></div><span class="HOEnZb"><font color="#888888"><div style="font-family:Arial;font-size:16px"><span style="font-size:12pt"><br></span></div><div style="font-family:Arial;font-size:16px">
<span style="font-size:12pt">-- </span></div>
<div style="font-family:Arial;font-size:16px"><span style="font-size:12pt">Steve</span></div></font></span></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>