<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 11.00.9600.16476">
<style title="owaParaStyle"><!--P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
--></style>
</head>
<body ocsi="x">
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">That's an interesting link - I didn't know you could set a per user eventfilter in the conf file</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">However, I'm hoping to do this in the AMI connection for more flexibility.  Upon login, you can specify the event mask to restrict the type of events sent over the AMI connection.  Looking through the Asterisk code
 I think Newchannel falls under the 'call' event flag...but it would be nice to restrict this even further (since lots of events fall under 'call').</font></div>
<div id="divRpF996971" style="DIRECTION: ltr">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> asterisk-users-bounces@lists.digium.com [asterisk-users-bounces@lists.digium.com] On Behalf Of Daniel Jenkins [dan.jenkins88@gmail.com]<br>
<b>Sent:</b> Thursday, January 23, 2014 9:03 AM<br>
<b>To:</b> Asterisk Users List<br>
<b>Subject:</b> Re: [asterisk-users] AMI eventmask question<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jan 23, 2014 at 3:25 AM, Michelle Dupuis <span dir="ltr">
<<a href="mailto:mdupuis@ocg.ca">mdupuis@ocg.ca</a>></span> wrote:<br>
<div><br>
</div>
<div>Hi</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div dir="ltr"><font color="#000000" face="Tahoma">I'm creating an AMI client and I only want to get newchannel events (as well as responses to any actions I initiate).  What would I set the eventmask to to only get the newchannel events?</font></div>
<div dir="ltr"><font face="tahoma"></font></div>
</div>
</blockquote>
<div><br>
</div>
<div>Are you talking about the event filter in manager.conf?</div>
<div><br>
</div>
<div>Using event filters you can say if you want to receive an event or not, specific to the event, instead of the classification of system/call etc</div>
<div><br>
</div>
<div>Take a look at the event filters in this blog post and you'll see what I mean,</div>
<div><br>
</div>
<div><a href="http://hungrygeek.holidayextras.co.uk/2012/05/14/elastix-apply-configuration-changes-problem/" target="_blank">http://hungrygeek.holidayextras.co.uk/2012/05/14/elastix-apply-configuration-changes-problem/</a><br>
</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div dir="ltr"> </div>
<div dir="ltr"><font face="tahoma">For anyone else looking...is there a table somewhere online that maps events to their eventmask categories?  I checked the asterisk wiki and voip-info but can't find this...</font></div>
</div>
<br>
</blockquote>
<div> </div>
<div>Dan </div>
<div><br>
</div>
<div> </div>
</div>
<br>
</div>
</div>
</div>
</body>
</html>