res_stun_monitor for monitoring network changes behind a NAT device

Review: https://reviewboard.asterisk.org/r/854


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel
2010-08-13 20:03:56 +00:00
parent fbfafb59ba
commit 48fb2c3276
7 changed files with 478 additions and 4 deletions

View File

@@ -52,8 +52,10 @@ enum ast_event_type {
AST_EVENT_CEL = 0x07,
/*! A report of a security related event (see security_events.h) */
AST_EVENT_SECURITY = 0x08,
/*! Used by res_stun_monitor to alert listeners to an exernal network address change. */
AST_EVENT_NETWORK_CHANGE = 0x09,
/*! Number of event types. This should be the last event type + 1 */
AST_EVENT_TOTAL = 0x09,
AST_EVENT_TOTAL = 0x0a,
};
/*! \brief Event Information Element types */