<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 11:41 AM, SamyGo <span dir="ltr"><<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I'm required to send a dialplan variable with every AMI event triggered for the duration of the call.</div><div>For example;</div><div><br></div><div>...</div><div>exten => s,n,Set(MyVar=${ODBC_GetSomething(${EXTEN}))</div><div>...<br><br>so can I have this Variable MyVar attached in all AMI events for this call ? I can understand that untill this variable has not been set some value it may even be empty but as soon as its set I expect some value for the rest of the channel life.</div></div></blockquote><div><br></div><div>Look in the manager.conf.sample configuration file.<br><br>; Display certain channel variables every time a channel-oriented<br>; event is emitted:<br>;<br>;channelvars = var1,var2,var3<br><br></div><div>Please note that in v12+ this option becomes computationally expensive<br></div><div>to support so you may want to look for alternatives in newer versions.<br></div><div><br></div><div>Richard<br></div></div><br></div></div>