<div dir="ltr">On Thu, Feb 28, 2013 at 12:20 AM, Denis Gasparin <span dir="ltr"><<a href="mailto:denis.gasparin@edistar.com" target="_blank">denis.gasparin@edistar.com</a>></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><extension name="MYSETUP_EXTENSION"></div><div> <condition field="destination_number" expression="^MYSETUP$"/></div>
<div> <action application="log" data="INFO MYSETUP exec"/></div><div><span style="font-size:12pt"></extension></span></div></span></div></div></blockquote><div><br></div><div style>I'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"><extension name="MYSETUP_EXTENSION"></div><div style="font-family:Arial;font-size:16px"> <condition field="destination_number" expression="^MYSETUP$"></div>
<div style="font-family:Arial;font-size:16px"> <action application="log" data="INFO MYSETUP exec"/></div><div style="font-family:Arial;font-size:16px"> </condition></div><div style="font-family:Arial;font-size:16px">
<span style="font-size:12pt"></extension></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>