[asterisk-commits] kmoore: branch kmoore/event_system_strip r395499 - /team/kmoore/event_system_...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 26 09:29:22 CDT 2013


Author: kmoore
Date: Fri Jul 26 09:29:20 2013
New Revision: 395499

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395499
Log:
Renumber event IEs

Modified:
    team/kmoore/event_system_strip/include/asterisk/event_defs.h

Modified: team/kmoore/event_system_strip/include/asterisk/event_defs.h
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/event_system_strip/include/asterisk/event_defs.h?view=diff&rev=395499&r1=395498&r2=395499
==============================================================================
--- team/kmoore/event_system_strip/include/asterisk/event_defs.h (original)
+++ team/kmoore/event_system_strip/include/asterisk/event_defs.h Fri Jul 26 09:29:20 2013
@@ -54,194 +54,194 @@
 	 * Used by: AST_EVENT_SUB, AST_EVENT_UNSUB
 	 * Payload type: UINT
 	 */
-	AST_EVENT_IE_UNIQUEID            = 0x0004,
+	AST_EVENT_IE_UNIQUEID            = 0x0001,
 	/*! 
 	 * \brief Event type 
 	 * Used by: AST_EVENT_SUB, AST_EVENT_UNSUB
 	 * Payload type: UINT
 	 */
-	AST_EVENT_IE_EVENTTYPE           = 0x0005,
+	AST_EVENT_IE_EVENTTYPE           = 0x0002,
 	/*!
 	 * \brief Hint that someone cares that an IE exists
 	 * Used by: AST_EVENT_SUB
 	 * Payload type: UINT (ast_event_ie_type)
 	 */
-	AST_EVENT_IE_EXISTS              = 0x0006,
+	AST_EVENT_IE_EXISTS              = 0x0003,
 	 /*!
 	  * \brief Context IE
 	  * Used by AST_EVENT_MWI
 	  * Payload type: str
 	  */
-	 AST_EVENT_IE_CONTEXT            = 0x0009,
+	 AST_EVENT_IE_CONTEXT            = 0x0004,
 	/*! 
 	 * \brief Channel Event Type
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: UINT
 	 */
-	AST_EVENT_IE_CEL_EVENT_TYPE      = 0x000a,
+	AST_EVENT_IE_CEL_EVENT_TYPE      = 0x0005,
 	/*! 
 	 * \brief Channel Event Time (seconds)
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: UINT
 	 */
-	AST_EVENT_IE_CEL_EVENT_TIME      = 0x000b,
+	AST_EVENT_IE_CEL_EVENT_TIME      = 0x0006,
 	/*! 
 	 * \brief Channel Event Time (micro-seconds)
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: UINT
 	 */
-	AST_EVENT_IE_CEL_EVENT_TIME_USEC = 0x000c,
+	AST_EVENT_IE_CEL_EVENT_TIME_USEC = 0x0007,
 	/*! 
 	 * \brief Channel Event User Event Name
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_USEREVENT_NAME  = 0x000d,
+	AST_EVENT_IE_CEL_USEREVENT_NAME  = 0x0008,
 	/*! 
 	 * \brief Channel Event CID name
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_CIDNAME         = 0x000e,
+	AST_EVENT_IE_CEL_CIDNAME         = 0x0009,
 	/*! 
 	 * \brief Channel Event CID num
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_CIDNUM          = 0x000f,
+	AST_EVENT_IE_CEL_CIDNUM          = 0x000a,
 	/*! 
 	 * \brief Channel Event extension name
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_EXTEN           = 0x0010,
+	AST_EVENT_IE_CEL_EXTEN           = 0x000b,
 	/*! 
 	 * \brief Channel Event context name
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_CONTEXT         = 0x0011,
+	AST_EVENT_IE_CEL_CONTEXT         = 0x000c,
 	/*! 
 	 * \brief Channel Event channel name
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_CHANNAME        = 0x0012,
+	AST_EVENT_IE_CEL_CHANNAME        = 0x000d,
 	/*! 
 	 * \brief Channel Event app name
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_APPNAME         = 0x0013,
+	AST_EVENT_IE_CEL_APPNAME         = 0x000e,
 	/*! 
 	 * \brief Channel Event app args/data
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_APPDATA         = 0x0014,
+	AST_EVENT_IE_CEL_APPDATA         = 0x000f,
 	/*! 
 	 * \brief Channel Event AMA flags
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: UINT
 	 */
-	AST_EVENT_IE_CEL_AMAFLAGS        = 0x0015,
+	AST_EVENT_IE_CEL_AMAFLAGS        = 0x0010,
 	/*! 
 	 * \brief Channel Event AccountCode
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_ACCTCODE        = 0x0016,
+	AST_EVENT_IE_CEL_ACCTCODE        = 0x0011,
 	/*! 
 	 * \brief Channel Event UniqueID
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_UNIQUEID        = 0x0017,
+	AST_EVENT_IE_CEL_UNIQUEID        = 0x0012,
 	/*! 
 	 * \brief Channel Event Userfield
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_USERFIELD       = 0x0018,
+	AST_EVENT_IE_CEL_USERFIELD       = 0x0013,
 	/*! 
 	 * \brief Channel Event CID ANI field
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_CIDANI          = 0x0019,
+	AST_EVENT_IE_CEL_CIDANI          = 0x0014,
 	/*! 
 	 * \brief Channel Event CID RDNIS field
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_CIDRDNIS        = 0x001a,
+	AST_EVENT_IE_CEL_CIDRDNIS        = 0x0015,
 	/*! 
 	 * \brief Channel Event CID dnid
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_CIDDNID         = 0x001b,
+	AST_EVENT_IE_CEL_CIDDNID         = 0x0016,
 	/*! 
 	 * \brief Channel Event Peer -- for Things involving multiple channels, like BRIDGE
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_PEER            = 0x001c,
+	AST_EVENT_IE_CEL_PEER            = 0x0017,
 	/*! 
 	 * \brief Channel Event LinkedID
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_LINKEDID        = 0x001d,
+	AST_EVENT_IE_CEL_LINKEDID        = 0x0018,
 	/*! 
 	 * \brief Channel Event peeraccount
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_PEERACCT        = 0x001e,
+	AST_EVENT_IE_CEL_PEERACCT        = 0x0019,
 	/*! 
 	 * \brief Channel Event extra data
 	 * Used by: AST_EVENT_CEL
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_CEL_EXTRA           = 0x001f,
+	AST_EVENT_IE_CEL_EXTRA           = 0x001a,
 	/*!
 	 * \brief Description
 	 * Used by: AST_EVENT_SUB, AST_EVENT_UNSUB
 	 * Payload type: STR
 	 */
-	AST_EVENT_IE_DESCRIPTION         = 0x0020,
+	AST_EVENT_IE_DESCRIPTION         = 0x001b,
 	/*!
 	 * \brief Entity ID
 	 * Used by All events
 	 * Payload type: RAW
 	 * This IE indicates which server the event originated from
 	 */
-	AST_EVENT_IE_EVENT_VERSION       = 0x0023,
-	AST_EVENT_IE_SERVICE             = 0x0024,
-	AST_EVENT_IE_MODULE              = 0x0025,
-	AST_EVENT_IE_ACCOUNT_ID          = 0x0026,
-	AST_EVENT_IE_SESSION_ID          = 0x0027,
-	AST_EVENT_IE_SESSION_TV          = 0x0028,
-	AST_EVENT_IE_ACL_NAME            = 0x0029,
-	AST_EVENT_IE_LOCAL_ADDR          = 0x002a,
-	AST_EVENT_IE_REMOTE_ADDR         = 0x002b,
-	AST_EVENT_IE_EVENT_TV            = 0x002c,
-	AST_EVENT_IE_REQUEST_TYPE        = 0x002d,
-	AST_EVENT_IE_REQUEST_PARAMS      = 0x002e,
-	AST_EVENT_IE_AUTH_METHOD         = 0x002f,
-	AST_EVENT_IE_SEVERITY            = 0x0030,
-	AST_EVENT_IE_EXPECTED_ADDR       = 0x0031,
-	AST_EVENT_IE_CHALLENGE           = 0x0032,
-	AST_EVENT_IE_RESPONSE            = 0x0033,
-	AST_EVENT_IE_EXPECTED_RESPONSE   = 0x0034,
-	AST_EVENT_IE_RECEIVED_CHALLENGE  = 0x0035,
-	AST_EVENT_IE_RECEIVED_HASH       = 0x0036,
-	AST_EVENT_IE_USING_PASSWORD      = 0x0037,
-	AST_EVENT_IE_ATTEMPTED_TRANSPORT = 0x0038,
+	AST_EVENT_IE_EVENT_VERSION       = 0x001c,
+	AST_EVENT_IE_SERVICE             = 0x001d,
+	AST_EVENT_IE_MODULE              = 0x001e,
+	AST_EVENT_IE_ACCOUNT_ID          = 0x001f,
+	AST_EVENT_IE_SESSION_ID          = 0x0020,
+	AST_EVENT_IE_SESSION_TV          = 0x0021,
+	AST_EVENT_IE_ACL_NAME            = 0x0022,
+	AST_EVENT_IE_LOCAL_ADDR          = 0x0023,
+	AST_EVENT_IE_REMOTE_ADDR         = 0x0024,
+	AST_EVENT_IE_EVENT_TV            = 0x0025,
+	AST_EVENT_IE_REQUEST_TYPE        = 0x0026,
+	AST_EVENT_IE_REQUEST_PARAMS      = 0x0027,
+	AST_EVENT_IE_AUTH_METHOD         = 0x0028,
+	AST_EVENT_IE_SEVERITY            = 0x0029,
+	AST_EVENT_IE_EXPECTED_ADDR       = 0x002a,
+	AST_EVENT_IE_CHALLENGE           = 0x002b,
+	AST_EVENT_IE_RESPONSE            = 0x002c,
+	AST_EVENT_IE_EXPECTED_RESPONSE   = 0x002e,
+	AST_EVENT_IE_RECEIVED_CHALLENGE  = 0x002f,
+	AST_EVENT_IE_RECEIVED_HASH       = 0x0030,
+	AST_EVENT_IE_USING_PASSWORD      = 0x0031,
+	AST_EVENT_IE_ATTEMPTED_TRANSPORT = 0x0032,
 
 	/*! \brief Must be the last IE value +1 */
-	AST_EVENT_IE_TOTAL               = 0x003e,
+	AST_EVENT_IE_TOTAL               = 0x0033,
 };
 
 /*!




More information about the asterisk-commits mailing list