[Freeswitch-branches] [commit] r3552 - freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr

Freeswitch SVN mishehu at freeswitch.org
Wed Dec 6 01:00:07 EST 2006

Author: mishehu
Date: Wed Dec  6 01:00:05 2006
New Revision: 3552


Fixed a minor issue of not memsetting a char array CsvCDR.

Modified: freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/README
--- freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/README	(original)
+++ freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/README	Wed Dec  6 01:00:05 2006
@@ -48,6 +48,11 @@
 		<param name="path" value=""/>  value is the path where you want the output files (required)
 		<param name="chanvars" value=""/> value is a comma separated list of channel variables to log.  It can accept a wildcard (*) (optional)
 		<param name="timezone" value=""/> value is utc for utc time, local for localtime.  If not specified or incorrectly specified, localtime is assumed.
+Class:		XmlCDR
+Description:	This works very similar to the PddCDR class, only that the output is formatted as xml.  
+Configuration:	Section name: <xmlcdr>
+				The configuration options are identical to PddCDR.
 Class:		MysqlCDR, located in mysqlcdr.h and mysqlcdr.cpp
 Description:	This class logs the call detail record to a MySQL 4.1.x or greater database using prepared

Modified: freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/csvcdr.cpp
--- freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/csvcdr.cpp	(original)
+++ freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/csvcdr.cpp	Wed Dec  6 01:00:05 2006
@@ -51,6 +51,7 @@
+	memset(formattedcalltransferdate,0,100);
 	if(newchannel != 0)

More information about the Freeswitch-branches mailing list