From: Michael Jerris Date: Wed, 18 Oct 2006 18:29:29 +0000 (+0000) Subject: finish ani-ii name change. X-Git-Tag: v1.0-beta1~1896 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56c9608c4d01e7be667cbde6970666786e1ad8c1;p=thirdparty%2Ffreeswitch.git finish ani-ii name change. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3078 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/event_handlers/mod_cdr/basecdr.cpp b/src/mod/event_handlers/mod_cdr/basecdr.cpp index 8c302fd75c..1aaee02773 100644 --- a/src/mod/event_handlers/mod_cdr/basecdr.cpp +++ b/src/mod/event_handlers/mod_cdr/basecdr.cpp @@ -73,7 +73,7 @@ BaseCDR::BaseCDR(switch_mod_cdr_newchannel_t *newchannel) 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 @@ BaseCDR::BaseCDR(switch_mod_cdr_newchannel_t *newchannel) // 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)); diff --git a/src/mod/event_handlers/mod_cdr/csvcdr.cpp b/src/mod/event_handlers/mod_cdr/csvcdr.cpp index d821e69a8f..2600373e77 100644 --- a/src/mod/event_handlers/mod_cdr/csvcdr.cpp +++ b/src/mod/event_handlers/mod_cdr/csvcdr.cpp @@ -234,7 +234,7 @@ bool CsvCDR::process_record() outputfile << srcchannel << "\",\""; outputfile << dstchannel << "\",\""; outputfile << ani << "\",\""; - outputfile << ani2 << "\",\""; + outputfile << aniii << "\",\""; outputfile << network_addr << "\",\""; outputfile << lastapp << "\",\""; outputfile << lastdata << "\",\""; diff --git a/src/mod/event_handlers/mod_cdr/pddcdr.cpp b/src/mod/event_handlers/mod_cdr/pddcdr.cpp index ae49d0957c..dc9f48711f 100644 --- a/src/mod/event_handlers/mod_cdr/pddcdr.cpp +++ b/src/mod/event_handlers/mod_cdr/pddcdr.cpp @@ -170,7 +170,7 @@ bool PddCDR::process_record() 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;