[asterisk-commits] mnicholson: branch group/newcdr r202745 - in /team/group/newcdr: include/aste...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 23 12:55:52 CDT 2009
Author: mnicholson
Date: Tue Jun 23 12:55:49 2009
New Revision: 202745
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=202745
Log:
Added support for AST_EVENT_IE_CEL_EXTRA to ast_cel_fill_record().
Modified:
team/group/newcdr/include/asterisk/cel.h
team/group/newcdr/main/cel.c
Modified: team/group/newcdr/include/asterisk/cel.h
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/include/asterisk/cel.h?view=diff&rev=202745&r1=202744&r2=202745
==============================================================================
--- team/group/newcdr/include/asterisk/cel.h (original)
+++ team/group/newcdr/include/asterisk/cel.h Tue Jun 23 12:55:49 2009
@@ -191,7 +191,7 @@
* \brief struct ABI version
* \note This \b must be incremented when the struct changes.
*/
- #define AST_CEL_EVENT_RECORD_VERSION 1
+ #define AST_CEL_EVENT_RECORD_VERSION 2
/*!
* \brief struct ABI version
* \note This \b must stay as the first member.
@@ -218,6 +218,7 @@
uint amaflag;
const char *user_field;
const char *peer;
+ const char *extra;
};
/*!
Modified: team/group/newcdr/main/cel.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/newcdr/main/cel.c?view=diff&rev=202745&r1=202744&r2=202745
==============================================================================
--- team/group/newcdr/main/cel.c (original)
+++ team/group/newcdr/main/cel.c Tue Jun 23 12:55:49 2009
@@ -598,6 +598,7 @@
r->amaflag = ast_event_get_ie_uint(e, AST_EVENT_IE_CEL_AMAFLAGS);
r->user_field = S_OR(ast_event_get_ie_str(e, AST_EVENT_IE_CEL_USERFIELD), "");
r->peer = S_OR(ast_event_get_ie_str(e, AST_EVENT_IE_CEL_PEER), "");
+ r->extra = S_OR(ast_event_get_ie_str(e, AST_EVENT_IE_CEL_EXTRA), "");
return 0;
}
More information about the asterisk-commits
mailing list