[Freeswitch-branches] [commit] r3551 -	freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr
    Freeswitch SVN 
    mishehu at freeswitch.org
       
    Tue Dec  5 18:26:06 EST 2006
    
    
  
Author: mishehu
Date: Tue Dec  5 18:26:06 2006
New Revision: 3551
Modified:
   freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp
Log:
Fixed a minor reversal of order on the call times in MysqlCDR::process_record()
Modified: freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp
==============================================================================
--- freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp	(original)
+++ freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp	Tue Dec  5 18:26:06 2006
@@ -336,10 +336,11 @@
 	set_mysql_time(tm3,my_calltransferdate);
 	set_mysql_time(tm4,my_calltransferdate);
 	
+	// Why is this out of order?  I don't know, it doesn't make sense.
 	add_parameter(my_callstartdate,MYSQL_TYPE_DATETIME);
 	add_parameter(my_callanswerdate,MYSQL_TYPE_DATETIME);
-	add_parameter(my_calltransferdate,MYSQL_TYPE_DATETIME);
 	add_parameter(my_callenddate,MYSQL_TYPE_DATETIME);
+	add_parameter(my_calltransferdate,MYSQL_TYPE_DATETIME);
 	
 	add_parameter(originated,MYSQL_TYPE_TINY);
 	add_string_parameter(clid,clid_length,MYSQL_TYPE_VAR_STRING,0);
    
    
More information about the Freeswitch-branches
mailing list