aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/event.h
AgeCommit message (Collapse)AuthorFilesLines
2008-06-10Merge some more changes from team/russell/eventsrussell1-4/+161
This commit pulls in a batch of improvements and additions to the event API. Changes include: - the ability to dynamically build a subscription. This is useful if you're building a subscription based on something you receive from the network, or from options in a configuration file. - Add tables of event types and IE types and the corresponding string representation for implementing text based protocols that use these events, for showing events on the CLI, reading configuration that references event information, among other things. - Add a table that maps IE types and the corresponding payload type. - an API call to get the total size of an event - an API call to get all events from the cache that match a subscription - a new IE payload type, raw, which I used for transporting the Entity ID in my code for handling distributed device state. - Code improvements to reduce code duplication - Include the Entity ID of the server that originated the event in every event - an additional event type, DEVICE_STATE_CHANGE, to help facilitate distributed device state. DEVICE_STATE is a state change on one server, DEVICE_STATE_CHANGE is the aggregate device state change across all servers. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121555 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-02The documentation page has to be in its own comment block to work, apparently.russell1-0/+3
Fix it up! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@102037 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-11A lot of doxygen updatesoej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@92285 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-26fix a typo in a commentrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-29Make the event header file work under C++.file1-0/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81364 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-29To keep others happy... revert part of my additions so trunk works.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81344 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-29Add API calls for iterating through an event. This should allow events to ↵file1-0/+57
have multiple information elements (while there was nothing preventing it before you could not actually access any except the first one). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81334 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-07Fix a bunch of doxygen errors and document more thingsrussell1-1/+1
(issue #9842, snuffy) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68339 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-31Issue #9842 - Doxygen updates by snuffy. Thanks!oej1-1/+1
(Committed from Media Plaza in Utrecht, Netherlands - Open Source VoIP conference) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@66705 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-28Merge changes from team/russell/eventsrussell1-0/+416
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: http://svn.digium.com/svn/asterisk/trunk@62292 f38db490-d61c-443f-a65b-d21fe96a405b