[asterisk-commits] russell: branch group/newcdr r202877 - /team/group/newcdr/main/cel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 23 22:14:41 CDT 2009
Author: russell
Date: Tue Jun 23 22:14:38 2009
New Revision: 202877
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=202877
Log:
More doxygen, because it's good for your health
Modified:
team/group/newcdr/main/cel.c
Modified: team/group/newcdr/main/cel.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/main/cel.c?view=diff&rev=202877&r1=202876&r2=202877
==============================================================================
--- team/group/newcdr/main/cel.c (original)
+++ team/group/newcdr/main/cel.c Tue Jun 23 22:14:38 2009
@@ -58,15 +58,33 @@
*/
#define CEL_MAX_EVENT_IDS 64
-/*! \brief Track no events by default. */
+/*!
+ * \brief Track no events by default.
+ */
static const int64_t CEL_DEFAULT_EVENTS = 0;
+/*!
+ * \brief Number of buckets for the appset container
+ */
static const int NUM_APP_BUCKETS = 97;
+/*!
+ * \brief Container of Asterisk application names
+ *
+ * The apps in this container are the applications that were specified
+ * in the configuration as applications that CEL events should be generated
+ * for when they start and end on a channel.
+ */
static struct ao2_container *appset;
+/*!
+ * \brief Configured date format for event timestamps
+ */
static char cel_dateformat[256];
+/*!
+ * \brief Map of ast_cel_event_type to strings
+ */
static const char const *cel_event_types[CEL_MAX_EVENT_IDS] = {
[0] = "ALL",
[AST_CEL_CHANNEL_START] = "CHAN_START",
@@ -96,6 +114,9 @@
[AST_CEL_LINKEDID_END] = "LINKEDID_END",
};
+/*!
+ * \brief Map of ast_cel_ama_flags to strings
+ */
static const char const *cel_ama_flags[AST_CEL_AMA_FLAG_TOTAL] = {
[AST_CEL_AMA_FLAG_OMIT] = "OMIT",
[AST_CEL_AMA_FLAG_BILLING] = "BILLING",
More information about the asterisk-commits
mailing list