You can filter manager events based on certain event types i.e (system, call, 
log, verbose, DTMF, etc..). See manger.conf for details of each event type.

But you cannot filter AMI events depending upon extensions. I would suggest 
have a manger proxy on top of asterisk box and filter it from there.




Shishir Pokharel
Sr. Software Engineer
[Description: Description: Description: on24_logo]
201 3rd Street, Suite 300
San Francisco, CA 94103
shishir.pokha...@on24.com<mailto:shishir.pokha...@on24.com>
415.369.8354


From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bryant Zimmerman
Sent: Thursday, September 17, 2015 7:00 AM
To: sba...@bluebe.net; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk AMI events filtering

Sam

Based on my experience you need to write a middle tier that has what you want 
exposed to the users.. AMI was not really designed to offer direct multi-tenant 
access. That is for your middle tier to handle.

Thanks

Bryant Zimmerman (ZK Tech Inc.)
616-855-1030 Ext. 2003

________________________________
From: "Sam Basan" <sba...@bluebe.net<mailto:sba...@bluebe.net>>
Sent: Thursday, September 17, 2015 7:21 AM
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users@lists.digium.com<mailto:asterisk-users@lists.digium.com>>
Subject: [asterisk-users] Asterisk AMI events filtering


Hi folks,

I have one server with multiple companies (multi-tenant).
>From AMI I get all events of all extensions so any one that connect can see 
>other extensions, from different company (context).
How can I limit specific user to get just specific context?

Sam

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to