[asterisk-dev] Dreams can come true
Russell Bryant
russell at digium.com
Mon Jul 7 19:51:57 CDT 2008
On Jul 7, 2008, at 8:28 PM, Steve Totaro wrote:
> Is this an official announcement? Can you elaborate or point to an
> docs? I would LOVE to see Asterisk have the ability to have
> distributed queues or queues spanning multiple servers.
To have native support for distributed queues, we need native support
for distributed device state, first. Asterisk 1.6.1 will have the
first native support for it.
The first step toward that is having a generic event system inside of
Asterisk. This is what I did most of on a plane. In Asterisk 1.6,
device state and message waiting indication are handled through this
system. There are plans for much more to be put through this system.
The API has things to support independent events, as well as events
that represent a state change, like a cache for keeping track of the
last known state.
http://svn.digium.com/view/asterisk/trunk/include/asterisk/event.h?view=markup
The next step is to build a mechanism for distributing generic
Asterisk events. I wrote a module, res_ais, that uses the event
service of the AIS specification to achieve this. It was developed
and tested against the OpenAIS implementation. One limitation of this
is that the OpenAIS is built, it expects to be on a high speed LAN.
So, this does not quite work for servers across the internet, yet. I
have some plans for that, though, for whenever I have the time and
energy to get around to it if someone else doesn't do it first. :)
http://www.russellbryant.net/blog/index.php/category/asterisk/asterisk-clustering/
--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.
More information about the asterisk-dev
mailing list