<br><br><div class="gmail_quote">On Wed, Oct 21, 2009 at 9:39 AM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It not only makes sense it's well documented on the wiki page.<br>The set line is not happening right when it's encountered, the set line is copied into the channel and executed later after the whole dialplan is parsed. The dialplan is a pre-processor not a runtime engine.<br>
<br>Here is a new feature in pre-1.0.5 (svn trunk)<br><br>Some applications like set can now be executed within the dialplan but you should use it sparingly.<br><action application="set" data="testing=true" inline="true"/><br>
</blockquote><div><br>I'm getting ready to document this feature. For the sake of edification, why is it best to use this sparingly, other than wide-spread use making dialplans all cluttered?<br>-MC<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>The inline=true makes it execute inside the dialplan and it's never copied into your resulting extension because it's executed immediately.<div><div></div><br></div></blockquote></div><br>