|
We have similar issue and it applies to transfer and forwarding where there are 2 CDR's created for each call. Each CDR contains info related to the call but you find some in CDR1 such as the extension dialing the telco number but no transfered exten detail this appears in CDR2, but there is now way to link the 2 CDR's as they have different Unique ID's. Other problem is that each of them have seperate durations. Any normal TMS created will see this as 2 calls and one as a local call and another as a billed call but the local call CDR has the majority duration so billing will be way off. exanple below:
CDR1
""0117972050"<5001>","5001","0839890008","default-alludiout","SIP/5001-b7c14708","Zap/1-1","Dial","Zap/g1/0839890008|60","2007-11-13 17:32:45","2007-11-13 17:32:51","2007-11-13 17:32:58","13","7","ANSWERED","DOCUMENTATION","all","1194967965.1205",""
CDR2
"5001","5001","t","default-alludiout","Zap/1-1","SIP/5000-094be3e8","Hangup","","2007-11-13 17:32:45","2007-11-13 17:32:51","2007-11-13 17:33:19","34","28","ANSWERED","DOCUMENTATION","all","1194967978.1207","" |