[asterisk-commits] murf: branch murf/newcdr r63596 - /team/murf/newcdr/main/cel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 9 08:12:14 MST 2007


Author: murf
Date: Wed May  9 10:12:13 2007
New Revision: 63596

URL: http://svn.digium.com/view/asterisk?view=rev&rev=63596
Log:
Uh, the eventtime and eventtype fields were getting reversed in the report_event routine. Made for messed up log. Fixed.

Modified:
    team/murf/newcdr/main/cel.c

Modified: team/murf/newcdr/main/cel.c
URL: http://svn.digium.com/view/asterisk/team/murf/newcdr/main/cel.c?view=diff&rev=63596&r1=63595&r2=63596
==============================================================================
--- team/murf/newcdr/main/cel.c (original)
+++ team/murf/newcdr/main/cel.c Wed May  9 10:12:13 2007
@@ -587,8 +587,8 @@
 			eventtime = time(0);
 			/* now, report this event */
 			ev = ast_event_new(AST_EVENT_CEL, 
-							   AST_EVENT_IE_CEL_EVENT_TYPE, AST_EVENT_IE_PLTYPE_UINT, (unsigned int)eventtime,
-							   AST_EVENT_IE_CEL_EVENT_TIME, AST_EVENT_IE_PLTYPE_UINT, eventtype,
+							   AST_EVENT_IE_CEL_EVENT_TYPE, AST_EVENT_IE_PLTYPE_UINT, eventtype,
+							   AST_EVENT_IE_CEL_EVENT_TIME, AST_EVENT_IE_PLTYPE_UINT, (unsigned int)eventtime,
 							   AST_EVENT_IE_CEL_USEREVENT_NAME, AST_EVENT_IE_PLTYPE_STR, udef,
 							   AST_EVENT_IE_CEL_CIDNAME, AST_EVENT_IE_PLTYPE_STR, chan->cid.cid_name,
 							   AST_EVENT_IE_CEL_CIDNUM, AST_EVENT_IE_PLTYPE_STR, chan->cid.cid_num,



More information about the asterisk-commits mailing list