Merge changes from team/russell/events
authorRussell Bryant <russell@russellbryant.com>
Sat, 28 Apr 2007 21:01:44 +0000 (21:01 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 28 Apr 2007 21:01:44 +0000 (21:01 +0000)
commitb6b1bf321330796329e206a427e04c84299b41ba
treea1a974c0e0c22e01ba079b2655a8d9eb28668653
parent503b75f885337ec09afafffca178c012e1b6318a
Merge changes from team/russell/events

This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.

This set of changes introduces the first use of the API, as well.  I have
restructured the way that MWI (message waiting indication) is handled.  It is
now event based instead of polling based.  For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes.  app_voicemail will generate events
when changes occur.

See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective.  For developer information, see the text in
include/asterisk/event.h.

As always, additional feedback is welcome on the asterisk-dev mailing list.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 files changed:
CHANGES
UPGRADE.txt
apps/app_voicemail.c
channels/chan_iax2.c
channels/chan_mgcp.c
channels/chan_sip.c
channels/chan_zap.c
configs/sip.conf.sample
configs/voicemail.conf.sample
include/asterisk.h
include/asterisk/event.h [new file with mode: 0644]
include/asterisk/event_defs.h [new file with mode: 0644]
main/Makefile
main/asterisk.c
main/dial.c
main/event.c [new file with mode: 0644]
res/res_eventtest.c [new file with mode: 0644]