<div dir="ltr">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 class="gmail_extra"><div class="gmail_quote">
<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 style>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 style><br></div><div style><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 style="font-family:Arial;font-size:16px">            &lt;action application=&quot;log&quot; data=&quot;INFO MYSETUP exec&quot;/&gt;</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><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></div></div></div></div>