Author: mikej Date: Wed Oct 18 14:29:29 2006 New Revision: 3078 Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr/basecdr.cpp freeswitch/trunk/src/mod/event_handlers/mod_cdr/csvcdr.cpp freeswitch/trunk/src/mod/event_handlers/mod_cdr/pddcdr.cpp Log: finish ani-ii name change. Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr/basecdr.cpp ============================================================================== --- freeswitch/trunk/src/mod/event_handlers/mod_cdr/basecdr.cpp (original) +++ freeswitch/trunk/src/mod/event_handlers/mod_cdr/basecdr.cpp Wed Oct 18 14:29:29 2006 @@ -73,7 +73,7 @@ memset(dstchannel,0,80); memset(network_addr,0,40); memset(ani,0,80); - memset(ani2,0,80); + memset(aniii,0,80); memset(lastapp,0,80); memset(lastdata,0,255); @@ -95,8 +95,8 @@ // Get the ANI information if it's set if(newchannel->callerprofile->ani != 0) strncpy(ani,newchannel->callerprofile->ani,strlen(newchannel->callerprofile->ani)); - if(newchannel->callerprofile->ani2 != 0) - strncpy(ani2,newchannel->callerprofile->ani2,strlen(newchannel->callerprofile->ani2)); + if(newchannel->callerprofile->aniii != 0) + strncpy(aniii,newchannel->callerprofile->aniii,strlen(newchannel->callerprofile->aniii)); if(newchannel->callerprofile->dialplan != 0) strncpy(dialplan,newchannel->callerprofile->dialplan,strlen(newchannel->callerprofile->dialplan)); Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr/csvcdr.cpp ============================================================================== --- freeswitch/trunk/src/mod/event_handlers/mod_cdr/csvcdr.cpp (original) +++ freeswitch/trunk/src/mod/event_handlers/mod_cdr/csvcdr.cpp Wed Oct 18 14:29:29 2006 @@ -234,7 +234,7 @@ outputfile << srcchannel << "\",\""; outputfile << dstchannel << "\",\""; outputfile << ani << "\",\""; - outputfile << ani2 << "\",\""; + outputfile << aniii << "\",\""; outputfile << network_addr << "\",\""; outputfile << lastapp << "\",\""; outputfile << lastdata << "\",\""; Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr/pddcdr.cpp ============================================================================== --- freeswitch/trunk/src/mod/event_handlers/mod_cdr/pddcdr.cpp (original) +++ freeswitch/trunk/src/mod/event_handlers/mod_cdr/pddcdr.cpp Wed Oct 18 14:29:29 2006 @@ -170,7 +170,7 @@ outputfile << "\t\'srcchannel\' = \'" << srcchannel << "\'," << std::endl; outputfile << "\t\'dstchannel\' = \'" << dstchannel << "\'," << std::endl; outputfile << "\t\'ani\' = \'" << ani << "\'," << std::endl; - outputfile << "\t\'ani2\' = \'" << ani2 << "\'," << std::endl; + outputfile << "\t\'aniii\' = \'" << aniii << "\'," << std::endl; outputfile << "\t\'network_addr\' = \'" << network_addr << "\'," << std::endl; outputfile << "\t\'lastapp\' = \'" << lastapp << "\'," << std::endl; outputfile << "\t\'lastdata\' = \'" << lastdata << "\'," << std::endl;