asterisk/apps
Russell Bryant e9d72e0cb2 Merge another big set of changes from team/russell/events
This commit merges in the rest of the code needed to support distributed device
state.  There are two main parts to this commit.

Core changes:
 - The device state handling in the core has been updated to understand device
   state across a cluster of Asterisk servers.  Every time the state of a device
   changes, it looks at all of the device states on each node, and determines the
   aggregate device state.  That resulting device state is what is provided to
   modules in Asterisk that take actions based on the state of a device.

New module, res_ais:
 - A module has been written to facilitate the communication of events between
   nodes in a cluster of Asterisk servers.  This module uses the SAForum AIS
   (Service Availability Forum Application Interface Specification) CLM and EVT
   services (Cluster Management and Event) to handle this task.  This module
   currently supports sharing Voicemail MWI (Message Waiting Indication) and
   device state events between servers.  It has been tested with openais, though
   other implementations of the spec do exist.

For more information on testing distributed device state, see the following doc:
  - doc/distributed_devstate.txt


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 15:12:17 +00:00
..
app_adsiprog.c whitespace fixes only 2008-02-07 21:08:46 +00:00
app_alarmreceiver.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_amd.c Create a centralized configuration option for silencethreshold 2008-03-05 16:23:44 +00:00
app_authenticate.c This removes an invalid warning message for an incorrectly entered pin, but more importantly removes an inapplicable check. If the first argument passed to app_authenticate does not contain a '/', the argument should be treated as the sole fixed "password" to match against and that is all. (Previous behavior was attempting to open a file based on the pin.) 2008-04-21 15:34:37 +00:00
app_cdr.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_chanisavail.c Use proper return values for a few application modules 2008-06-03 19:48:37 +00:00
app_channelredirect.c Use proper return values for a few application modules 2008-06-03 19:48:37 +00:00
app_chanspy.c Merged revisions 118509 via svnmerge from 2008-05-27 19:08:24 +00:00
app_controlplayback.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_db.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_dial.c Merged revisions 119530 via svnmerge from 2008-06-02 01:04:01 +00:00
app_dictate.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_directed_pickup.c Merge app_pickupchan with app_directed_pickup, for AST-27. 2008-04-25 18:32:22 +00:00
app_directory.c Make app_directory dependent on app_voicemail. This is because the function 2008-04-29 18:48:26 +00:00
app_disa.c Use proper return values for a few application modules 2008-06-03 19:48:37 +00:00
app_dumpchan.c Modify TIMEOUT() to be accurate down to the millisecond. 2008-05-01 23:06:23 +00:00
app_echo.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_exec.c For the purpose of making the changed syntax to ExecIf easier to transition, 2008-06-06 17:34:21 +00:00
app_externalivr.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_fax.c Add app_fax from asterisk-addons, with some additional changes to resolve compiler 2008-06-02 16:14:15 +00:00
app_festival.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_flash.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
app_followme.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_forkcdr.c Merged revisions 118858 via svnmerge from 2008-05-29 01:29:09 +00:00
app_getcpeid.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
app_ices.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_image.c remove redundant headers 2007-11-22 01:39:06 +00:00
app_ivrdemo.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
app_jack.c Fix a few places where frame data was used directly. 2008-05-22 17:10:53 +00:00
app_macro.c Lock around variables retrieved, and copy the values, if they stay persistent, 2008-04-30 19:21:04 +00:00
app_meetme.c Expand RQ_INTEGER type out to multiple types, one for each precision 2008-06-09 22:51:59 +00:00
app_milliwatt.c Merged revisions 119012 via svnmerge from 2008-05-29 19:05:33 +00:00
app_minivm.c Lock around variables retrieved, and copy the values, if they stay persistent, 2008-04-30 19:21:04 +00:00
app_mixmonitor.c Merged revisions 108083 via svnmerge from 2008-03-12 18:29:33 +00:00
app_morsecode.c Lock around variables retrieved, and copy the values, if they stay persistent, 2008-04-30 19:21:04 +00:00
app_mp3.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_nbscat.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_osplookup.c Update osplookup documentation to use commas instead of pipes. 2008-01-02 17:38:02 +00:00
app_page.c Dial a device even if it's state is unknown. 2008-03-11 20:36:14 +00:00
app_parkandannounce.c Fixes segfault when using ParkAndAnnounce. Also, loop made more efficient as announce template only needs to be checked until the number of colon separated arguments run out, not the entire pointer storage array. Was done in a similiar fashion in 1.4, but here we're using less variables. 2008-06-08 01:16:25 +00:00
app_playback.c Whitespace changes only 2008-04-25 20:20:10 +00:00
app_privacy.c add a new argument to PrivacyManager to specify a context 2008-06-08 11:40:44 +00:00
app_queue.c Merge another big set of changes from team/russell/events 2008-06-10 15:12:17 +00:00
app_read.c Modify TIMEOUT() to be accurate down to the millisecond. 2008-05-01 23:06:23 +00:00
app_readexten.c Modify TIMEOUT() to be accurate down to the millisecond. 2008-05-01 23:06:23 +00:00
app_readfile.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
app_record.c Create a centralized configuration option for silencethreshold 2008-03-05 16:23:44 +00:00
app_rpt.c A couple more places the frame data change was missed. 2008-05-22 20:01:33 +00:00
app_sayunixtime.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
app_senddtmf.c shuffle a little bit the content of header files to reduce dependencies. 2007-11-22 03:50:04 +00:00
app_sendtext.c more header removal 2007-11-22 04:37:08 +00:00
app_setcallerid.c Merged revisions 114242 via svnmerge from 2008-04-18 06:53:47 +00:00
app_skel.c Re-introduce proper error handling that was removed in recent commits. 2008-05-13 17:42:17 +00:00
app_sms.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_softhangup.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
app_speech_utils.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_stack.c Conditionally load the AGI command gosub, depending on whether or not res_agi 2008-06-05 15:58:11 +00:00
app_system.c shuffle a little bit the content of header files to reduce dependencies. 2007-11-22 03:50:04 +00:00
app_talkdetect.c Should check these values for non-NULL before scanning. 2008-03-05 17:40:42 +00:00
app_test.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_transfer.c shuffle a little bit the content of header files to reduce dependencies. 2007-11-22 03:50:04 +00:00
app_url.c shuffle a little bit the content of header files to reduce dependencies. 2007-11-22 03:50:04 +00:00
app_userevent.c remove redundant headers 2007-11-22 01:39:06 +00:00
app_verbose.c more header removal 2007-11-22 04:37:08 +00:00
app_voicemail.c Expand RQ_INTEGER type out to multiple types, one for each precision 2008-06-09 22:51:59 +00:00
app_waitforring.c Whitespace changes only 2008-04-25 20:20:10 +00:00
app_waitforsilence.c Create a centralized configuration option for silencethreshold 2008-03-05 16:23:44 +00:00
app_waituntil.c Use casts or intermediate variables to remove a number 2008-05-15 10:56:29 +00:00
app_while.c Lock around variables retrieved, and copy the values, if they stay persistent, 2008-04-30 19:21:04 +00:00
app_zapateller.c Use defined return values in load_module in more places. 2007-12-26 20:02:27 +00:00
app_zapbarge.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_zapras.c Standardized routines for forking processes (keeps all the specialized code in one place). 2008-04-16 22:57:54 +00:00
app_zapscan.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
enter.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
leave.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
Makefile Merged revisions 93180 via svnmerge from 2007-12-17 07:25:35 +00:00
rpt_flow.pdf remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00