summaryrefslogtreecommitdiff
path: root/include/asterisk/event_defs.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2012-07-30 00:14:18 +0000
committerRussell Bryant <russell@russellbryant.com>2012-07-30 00:14:18 +0000
commitfd1114659298072d639b691095825b66252a2f3d (patch)
tree4c9dd5902d681793d7b8c5afaaab73dcafe70d52 /include/asterisk/event_defs.h
parent9850a075b7ebc2f3dc3aff6eebb646ca63e5bb92 (diff)
Add a "corosync ping" CLI command.
This patch adds a new CLI command to the res_corosync module. It is primarily used as a debugging tool. It lets you fire off an event which will cause res_corosync on other nodes in the cluster to place messages into the logger if everything is working ok. It verifies that the corosync communication is working as expected. I didn't put anything in the CHANGES file for this, because this module is new in Asterisk 11. There is already a generic "res_corosync new module" entry in there so I figure that covers it just fine. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/event_defs.h')
-rw-r--r--include/asterisk/event_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/event_defs.h b/include/asterisk/event_defs.h
index d1e88360c..d3514f59c 100644
--- a/include/asterisk/event_defs.h
+++ b/include/asterisk/event_defs.h
@@ -58,8 +58,10 @@ enum ast_event_type {
AST_EVENT_PRESENCE_STATE = 0x0a,
/*! Used to alert listeners when a named ACL has changed. */
AST_EVENT_ACL_CHANGE = 0x0b,
+ /*! Send out a ping for debugging distributed events */
+ AST_EVENT_PING = 0x0c,
/*! Number of event types. This should be the last event type + 1 */
- AST_EVENT_TOTAL = 0x0c,
+ AST_EVENT_TOTAL = 0x0d,
};
/*! \brief Event Information Element types */