[asterisk-users] What is the best way to share extension state

Jim Dickenson dickenson at cfmc.com
Mon Jul 6 18:02:05 CDT 2009


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:dickenson at cfmc.com

CfMC
http://www.cfmc.com/



> From: Philipp Kempgen <philipp.kempgen at amooma.de>
> Organization: Amooma GmbH
> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> Date: Mon, 06 Jul 2009 13:36:52 +0200
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>
> Subject: Re: [asterisk-users] What is the best way to share extension state
> 
> Benny Amorsen schrieb:
>> <asterisk-users at rogg.is> 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





More information about the asterisk-users mailing list