Hello, I am currently using mod_cdr_csv and a perl script (every 5 min) to insert into DB. I tested with live traffic of around 500 CDR per hour but every hour I see a difference of 4-5 CDR with my carrier. These CDR are of various durations ranging from 1 second to 600 seconds. I dont know how to debug this. As many suggested in mailing list that mod_xml_cdr is a better choice? I understand that XML cdr is good option where freeswitch instances are in many locations but Can the issue I am facing be related to mod_cdr_csv? Regards, John
do you see errors in your db logs? On Sunday, January 24, 2016, John Nash <john.nash778@gmail.com> wrote:
Hello,
I am currently using mod_cdr_csv and a perl script (every 5 min) to insert into DB. I tested with live traffic of around 500 CDR per hour but every hour I see a difference of 4-5 CDR with my carrier. These CDR are of various durations ranging from 1 second to 600 seconds.
I dont know how to debug this. As many suggested in mailing list that mod_xml_cdr is a better choice? I understand that XML cdr is good option where freeswitch instances are in many locations but Can the issue I am facing be related to mod_cdr_csv?
Regards,
John
No...so far I have identified one issue where mod_cdr_csv records 0 duration call but our carrier recorded as 1 second. I am assuming that may be they round milliseconds to closest integer while mod_cdr_csv does not? Also what is the practical use of https://wiki.freeswitch.org/wiki/Variable_sip_wait_for_aleg_ack should I enable it in my bridge application? On Mon, Jan 25, 2016 at 1:34 AM, Michael Jerris <mike@jerris.com> wrote:
do you see errors in your db logs?
On Sunday, January 24, 2016, John Nash <john.nash778@gmail.com> wrote:
Hello,
I am currently using mod_cdr_csv and a perl script (every 5 min) to insert into DB. I tested with live traffic of around 500 CDR per hour but every hour I see a difference of 4-5 CDR with my carrier. These CDR are of various durations ranging from 1 second to 600 seconds.
I dont know how to debug this. As many suggested in mailing list that mod_xml_cdr is a better choice? I understand that XML cdr is good option where freeswitch instances are in many locations but Can the issue I am facing be related to mod_cdr_csv?
Regards,
John
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
John Nash
-
Michael Jerris