Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk AMI events filtering


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
sbasan at bluebe.net
Guest





PostPosted: Thu Sep 17, 2015 6:20 am    Post subject: [asterisk-users] Asterisk AMI events filtering Reply with quote

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
Back to top
BryantZ at zktech.com
Guest





PostPosted: Thu Sep 17, 2015 9:01 am    Post subject: [asterisk-users] Asterisk AMI events filtering Reply with quote

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" <sbasan@bluebe.net> Sent: Thursday, September 17, 2015 7:21 AM To: "Asterisk Users Mailing List - Non-Commercial Discussion" <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
Back to top
Shishir.Pokharel at on...
Guest





PostPosted: Tue Sep 22, 2015 3:29 pm    Post subject: [asterisk-users] Asterisk AMI events filtering Reply with quote

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

201 3rd Street, Suite 300
San Francisco, CA 94103
Shishir.pokharel@on24.com (Shishir.pokharel@on24.com)
415.369.8354


From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Bryant Zimmerman
Sent: Thursday, September 17, 2015 7:00 AM
To: sbasan@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" <sbasan@bluebe.net (sbasan@bluebe.net)>
Sent: Thursday, September 17, 2015 7:21 AM
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com (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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services