<div dir="ltr">Thanks Richard,<div>Let me have it a go and get back on its effects since I've Asterisk 11.XX version.Hopefully it won't do much harm.</div><div><br></div><div>Appreciate your time.</div><div>Regards,</div><div>Sammy.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 1:48 PM, Richard Mudgett <span dir="ltr"><<a href="mailto:rmudgett@digium.com" target="_blank">rmudgett@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">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></span><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.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Richard<br></div></font></span></div><br></div></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>