http://bugs.digium.com/view.php?id=14595 has a patch to add a new class, bridge, so you get less events in AMI. This is for 1.6.0.x. It will give you an idea of what needs to be changed in order to make the call class of messages more granular. -- Jim Dickenson mailto:[email protected]
CfMC http://www.cfmc.com/ > From: Philipp Kempgen <[email protected]> > Organization: Amooma GmbH > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion > <[email protected]> > Date: Mon, 06 Jul 2009 13:36:52 +0200 > To: Asterisk Users Mailing List - Non-Commercial Discussion > <[email protected]> > Subject: Re: [asterisk-users] What is the best way to share extension state > > Benny Amorsen schrieb: >> <[email protected]> writes: >> >>> 3) Hook into the AMI and parse the ExtensionStatusEvent which I think gives >>> me what I want. > >> The challenge with AMI is that it is becoming a high-bandwidth channel. >> If you're only interested in one event type, you will spend quite a bit >> of CPU time just discarding uninteresting events. >> >> Perhaps it would be possible to make events more granular, instead of >> just on/off? > > After you're logged in send > > Action: Events > EventMask: call > > or > > Action: Events > EventMask: call,system > > if you're interested in reload etc. > > But you are right. "call" still gives you events like NewExten, > NewChannel etc. apart from ExtensionStatus. NewExten can be pretty > verbose. > > > Philipp Kempgen > -- > AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de > Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 > Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de > Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de > -- > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
