<div dir="ltr">Hi Mark,<div> Thanks for the response, right after I posted I thought that it belongs to the users list.</div><div> The only problem I had was about channel vars that have dynamic names, this way I can't have them listed in the manager conf.</div><div>Att.</div><div>Gabriel</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-07 12:09 GMT-03:00 Mark Michelson <span dir="ltr"><<a href="mailto:mmichelson@digium.com" target="_blank">mmichelson@digium.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 03/06/2017 02:44 PM, Gabriel Ortiz Lour wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
Just saw that there is no more the "vars" option, well, there is no more the "eventwhencalled" option.<br>
<br>
How can I get the "vars" feature now? I need the channel variables along whith the Agent** events. Any way without having to poke on the source?<br>
Att.<br>
Gabriel<br>
<br>
</blockquote>
<br></div></div>
Hi Gabriel,<br>
<br>
First, this question is more suited for the asterisk-users list than the asterisk-developers list since this does not pertain directly to the Asterisk source code. I'll answer here anyway this time, though.<br>
<br>
>From the CHANGES file in Asterisk 12+:<br>
<br>
* The configuration options eventwhencalled and eventmemberstatus have been<br>
removed. As a result, the AMI events QueueMemberStatus, AgentCalled,<br>
AgentConnect, AgentComplete, AgentDump, and AgentRingNoAnswer will always be<br>
sent. The "Variable" fields will also no longer exist on the Agent* events.<br>
These events can be filtered out from a connected AMI client using the<br>
eventfilter setting in manager.conf.<br>
<br>
In other words, the events will always be sent. You don't need to set the eventwhencalled option. Since channel snapshots are sent in these events, channel variables can already be included. In your manager.conf file, in the general section, set<br>
<br>
channelvars = foo,bar,baz<br>
<br>
Every time a channel is sent in a manager event, the channel variables foo, bar, and baz will be sent.<br>
<br>
I hope this helps,<br>
Mark Michelson<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailma<wbr>n/listinfo/asterisk-dev</a><br>
</font></span></blockquote></div><br></div>