Asterisk AMI Events Filtering

Home » Asterisk Users » Asterisk AMI Events Filtering
Asterisk Users 2 Comments

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

2 thoughts on - 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

    ————————————–

  • –_000_D198333735E2134E86FC9E9B7A11AC7C8606E4E1PESXMBX01on24co_
    Content-Type: text/plain; charset=”us-ascii”
    Content-Transfer-Encoding: quoted-printable

    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.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