[2026-03-18 00:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-17 21:02:05 [end_date_ymd] => 2026-03-18 00:02:05 [RateCDR] => 1 ) [2026-03-18 00:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-17 21:02:05' and `end` < '2026-03-18 00:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 00:02:37] Production.INFO: count ==596 [2026-03-18 00:02:37] Production.ERROR: pbx CDR StartTime 2026-03-17 21:02:05 - End Time 2026-03-18 00:02:05 [2026-03-18 00:02:37] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 00:02:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16931942', 'tblTempUsageDetail_20' ) start [2026-03-18 00:02:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16931942', 'tblTempUsageDetail_20' ) end [2026-03-18 00:02:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16931942', 'tblTempVendorCDR_20' ) start [2026-03-18 00:02:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16931942', 'tblTempVendorCDR_20' ) end [2026-03-18 00:02:37] Production.INFO: ProcessCDR(1,16931942,1,1,2) [2026-03-18 00:02:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16931942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 00:02:46] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16931942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 00:02:46] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16931942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 00:02:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16931942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 00:02:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16931942', 'tblTempUsageDetail_20' ) start [2026-03-18 00:02:57] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16931942', 'tblTempUsageDetail_20' ) end [2026-03-18 00:02:57] Production.ERROR: pbx prc_insertCDR start [2026-03-18 00:02:57] Production.ERROR: pbx prc_insertCDR end [2026-03-18 00:02:58] Production.INFO: ==23508== Releasing lock... [2026-03-18 00:02:58] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 00:02:58] Production.INFO: 37.25 MB #Memory Used# [2026-03-18 01:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-17 22:02:05 [end_date_ymd] => 2026-03-18 01:02:05 [RateCDR] => 1 ) [2026-03-18 01:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-17 22:02:05' and `end` < '2026-03-18 01:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 01:02:16] Production.INFO: count ==642 [2026-03-18 01:02:16] Production.ERROR: pbx CDR StartTime 2026-03-17 22:02:05 - End Time 2026-03-18 01:02:05 [2026-03-18 01:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 01:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932189', 'tblTempUsageDetail_20' ) start [2026-03-18 01:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932189', 'tblTempUsageDetail_20' ) end [2026-03-18 01:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932189', 'tblTempVendorCDR_20' ) start [2026-03-18 01:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932189', 'tblTempVendorCDR_20' ) end [2026-03-18 01:02:16] Production.INFO: ProcessCDR(1,16932189,1,1,2) [2026-03-18 01:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16932189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 01:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16932189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 01:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16932189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 01:02:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16932189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 01:02:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932189', 'tblTempUsageDetail_20' ) start [2026-03-18 01:02:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932189', 'tblTempUsageDetail_20' ) end [2026-03-18 01:02:35] Production.ERROR: pbx prc_insertCDR start [2026-03-18 01:02:35] Production.ERROR: pbx prc_insertCDR end [2026-03-18 01:02:35] Production.INFO: ==28306== Releasing lock... [2026-03-18 01:02:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 01:02:35] Production.INFO: 33.25 MB #Memory Used# [2026-03-18 02:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-17 23:02:06 [end_date_ymd] => 2026-03-18 02:02:06 [RateCDR] => 1 ) [2026-03-18 02:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-17 23:02:06' and `end` < '2026-03-18 02:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 02:02:17] Production.INFO: count ==604 [2026-03-18 02:02:17] Production.ERROR: pbx CDR StartTime 2026-03-17 23:02:06 - End Time 2026-03-18 02:02:06 [2026-03-18 02:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932436', 'tblTempUsageDetail_20' ) start [2026-03-18 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932436', 'tblTempUsageDetail_20' ) end [2026-03-18 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932436', 'tblTempVendorCDR_20' ) start [2026-03-18 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932436', 'tblTempVendorCDR_20' ) end [2026-03-18 02:02:17] Production.INFO: ProcessCDR(1,16932436,1,1,2) [2026-03-18 02:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16932436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 02:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16932436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 02:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16932436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 02:02:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16932436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 02:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932436', 'tblTempUsageDetail_20' ) start [2026-03-18 02:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932436', 'tblTempUsageDetail_20' ) end [2026-03-18 02:02:38] Production.ERROR: pbx prc_insertCDR start [2026-03-18 02:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-18 02:02:38] Production.INFO: ==581== Releasing lock... [2026-03-18 02:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 02:02:38] Production.INFO: 33.25 MB #Memory Used# [2026-03-18 03:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 00:02:05 [end_date_ymd] => 2026-03-18 03:02:05 [RateCDR] => 1 ) [2026-03-18 03:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 00:02:05' and `end` < '2026-03-18 03:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 03:02:17] Production.INFO: count ==528 [2026-03-18 03:02:17] Production.ERROR: pbx CDR StartTime 2026-03-18 00:02:05 - End Time 2026-03-18 03:02:05 [2026-03-18 03:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932683', 'tblTempUsageDetail_20' ) start [2026-03-18 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932683', 'tblTempUsageDetail_20' ) end [2026-03-18 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932683', 'tblTempVendorCDR_20' ) start [2026-03-18 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932683', 'tblTempVendorCDR_20' ) end [2026-03-18 03:02:17] Production.INFO: ProcessCDR(1,16932683,1,1,2) [2026-03-18 03:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16932683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 03:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16932683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 03:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16932683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 03:02:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16932683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 03:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932683', 'tblTempUsageDetail_20' ) start [2026-03-18 03:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932683', 'tblTempUsageDetail_20' ) end [2026-03-18 03:02:36] Production.ERROR: pbx prc_insertCDR start [2026-03-18 03:02:36] Production.ERROR: pbx prc_insertCDR end [2026-03-18 03:02:36] Production.INFO: ==5304== Releasing lock... [2026-03-18 03:02:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 03:02:36] Production.INFO: 32.5 MB #Memory Used# [2026-03-18 04:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 01:02:05 [end_date_ymd] => 2026-03-18 04:02:05 [RateCDR] => 1 ) [2026-03-18 04:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 01:02:05' and `end` < '2026-03-18 04:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 04:02:16] Production.INFO: count ==314 [2026-03-18 04:02:16] Production.ERROR: pbx CDR StartTime 2026-03-18 01:02:05 - End Time 2026-03-18 04:02:05 [2026-03-18 04:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932931', 'tblTempUsageDetail_20' ) start [2026-03-18 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16932931', 'tblTempUsageDetail_20' ) end [2026-03-18 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932931', 'tblTempVendorCDR_20' ) start [2026-03-18 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16932931', 'tblTempVendorCDR_20' ) end [2026-03-18 04:02:16] Production.INFO: ProcessCDR(1,16932931,1,1,2) [2026-03-18 04:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16932931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 04:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16932931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 04:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16932931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 04:02:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16932931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 04:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932931', 'tblTempUsageDetail_20' ) start [2026-03-18 04:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16932931', 'tblTempUsageDetail_20' ) end [2026-03-18 04:02:36] Production.ERROR: pbx prc_insertCDR start [2026-03-18 04:02:36] Production.ERROR: pbx prc_insertCDR end [2026-03-18 04:02:36] Production.INFO: ==9886== Releasing lock... [2026-03-18 04:02:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 04:02:36] Production.INFO: 31.25 MB #Memory Used# [2026-03-18 05:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 02:02:05 [end_date_ymd] => 2026-03-18 05:02:05 [RateCDR] => 1 ) [2026-03-18 05:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 02:02:05' and `end` < '2026-03-18 05:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 05:02:17] Production.INFO: count ==220 [2026-03-18 05:02:17] Production.ERROR: pbx CDR StartTime 2026-03-18 02:02:05 - End Time 2026-03-18 05:02:05 [2026-03-18 05:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933179', 'tblTempUsageDetail_20' ) start [2026-03-18 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933179', 'tblTempUsageDetail_20' ) end [2026-03-18 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933179', 'tblTempVendorCDR_20' ) start [2026-03-18 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933179', 'tblTempVendorCDR_20' ) end [2026-03-18 05:02:17] Production.INFO: ProcessCDR(1,16933179,1,1,2) [2026-03-18 05:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16933179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 05:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16933179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 05:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16933179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 05:02:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16933179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 05:02:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933179', 'tblTempUsageDetail_20' ) start [2026-03-18 05:02:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933179', 'tblTempUsageDetail_20' ) end [2026-03-18 05:02:35] Production.ERROR: pbx prc_insertCDR start [2026-03-18 05:02:35] Production.ERROR: pbx prc_insertCDR end [2026-03-18 05:02:36] Production.INFO: ==14630== Releasing lock... [2026-03-18 05:02:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 05:02:36] Production.INFO: 29.75 MB #Memory Used# [2026-03-18 06:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 03:02:06 [end_date_ymd] => 2026-03-18 06:02:06 [RateCDR] => 1 ) [2026-03-18 06:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 03:02:06' and `end` < '2026-03-18 06:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 06:02:17] Production.INFO: count ==111 [2026-03-18 06:02:17] Production.ERROR: pbx CDR StartTime 2026-03-18 03:02:06 - End Time 2026-03-18 06:02:06 [2026-03-18 06:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933426', 'tblTempUsageDetail_20' ) start [2026-03-18 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933426', 'tblTempUsageDetail_20' ) end [2026-03-18 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933426', 'tblTempVendorCDR_20' ) start [2026-03-18 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933426', 'tblTempVendorCDR_20' ) end [2026-03-18 06:02:17] Production.INFO: ProcessCDR(1,16933426,1,1,2) [2026-03-18 06:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16933426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 06:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16933426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 06:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16933426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 06:02:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16933426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 06:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933426', 'tblTempUsageDetail_20' ) start [2026-03-18 06:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933426', 'tblTempUsageDetail_20' ) end [2026-03-18 06:02:38] Production.ERROR: pbx prc_insertCDR start [2026-03-18 06:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-18 06:02:38] Production.INFO: ==19163== Releasing lock... [2026-03-18 06:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 06:02:38] Production.INFO: 28.75 MB #Memory Used# [2026-03-18 07:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 04:02:06 [end_date_ymd] => 2026-03-18 07:02:06 [RateCDR] => 1 ) [2026-03-18 07:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 04:02:06' and `end` < '2026-03-18 07:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 07:02:17] Production.INFO: count ==134 [2026-03-18 07:02:17] Production.ERROR: pbx CDR StartTime 2026-03-18 04:02:06 - End Time 2026-03-18 07:02:06 [2026-03-18 07:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933673', 'tblTempUsageDetail_20' ) start [2026-03-18 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933673', 'tblTempUsageDetail_20' ) end [2026-03-18 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933673', 'tblTempVendorCDR_20' ) start [2026-03-18 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933673', 'tblTempVendorCDR_20' ) end [2026-03-18 07:02:17] Production.INFO: ProcessCDR(1,16933673,1,1,2) [2026-03-18 07:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16933673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 07:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16933673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 07:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16933673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 07:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16933673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 07:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933673', 'tblTempUsageDetail_20' ) start [2026-03-18 07:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933673', 'tblTempUsageDetail_20' ) end [2026-03-18 07:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-18 07:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-18 07:02:37] Production.INFO: ==24167== Releasing lock... [2026-03-18 07:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 07:02:37] Production.INFO: 29 MB #Memory Used# [2026-03-18 08:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 05:02:05 [end_date_ymd] => 2026-03-18 08:02:05 [RateCDR] => 1 ) [2026-03-18 08:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 05:02:05' and `end` < '2026-03-18 08:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 08:02:17] Production.INFO: count ==213 [2026-03-18 08:02:17] Production.ERROR: pbx CDR StartTime 2026-03-18 05:02:05 - End Time 2026-03-18 08:02:05 [2026-03-18 08:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933920', 'tblTempUsageDetail_20' ) start [2026-03-18 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16933920', 'tblTempUsageDetail_20' ) end [2026-03-18 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933920', 'tblTempVendorCDR_20' ) start [2026-03-18 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16933920', 'tblTempVendorCDR_20' ) end [2026-03-18 08:02:17] Production.INFO: ProcessCDR(1,16933920,1,1,2) [2026-03-18 08:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16933920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 08:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16933920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 08:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16933920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 08:02:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16933920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 08:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933920', 'tblTempUsageDetail_20' ) start [2026-03-18 08:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16933920', 'tblTempUsageDetail_20' ) end [2026-03-18 08:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-18 08:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-18 08:02:37] Production.INFO: ==29309== Releasing lock... [2026-03-18 08:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 08:02:37] Production.INFO: 30 MB #Memory Used# [2026-03-18 09:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 06:02:05 [end_date_ymd] => 2026-03-18 09:02:05 [RateCDR] => 1 ) [2026-03-18 09:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 06:02:05' and `end` < '2026-03-18 09:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 09:02:17] Production.INFO: count ==814 [2026-03-18 09:02:17] Production.ERROR: pbx CDR StartTime 2026-03-18 06:02:05 - End Time 2026-03-18 09:02:05 [2026-03-18 09:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934167', 'tblTempUsageDetail_20' ) start [2026-03-18 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934167', 'tblTempUsageDetail_20' ) end [2026-03-18 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934167', 'tblTempVendorCDR_20' ) start [2026-03-18 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934167', 'tblTempVendorCDR_20' ) end [2026-03-18 09:02:17] Production.INFO: ProcessCDR(1,16934167,1,1,2) [2026-03-18 09:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16934167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 09:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16934167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 09:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16934167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 09:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16934167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 09:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934167', 'tblTempUsageDetail_20' ) start [2026-03-18 09:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934167', 'tblTempUsageDetail_20' ) end [2026-03-18 09:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-18 09:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-18 09:02:37] Production.INFO: ==2084== Releasing lock... [2026-03-18 09:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 09:02:37] Production.INFO: 34.5 MB #Memory Used# [2026-03-18 10:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 07:02:05 [end_date_ymd] => 2026-03-18 10:02:05 [RateCDR] => 1 ) [2026-03-18 10:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 07:02:05' and `end` < '2026-03-18 10:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 10:02:18] Production.INFO: count ==2404 [2026-03-18 10:02:19] Production.ERROR: pbx CDR StartTime 2026-03-18 07:02:05 - End Time 2026-03-18 10:02:05 [2026-03-18 10:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934414', 'tblTempUsageDetail_20' ) start [2026-03-18 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934414', 'tblTempUsageDetail_20' ) end [2026-03-18 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934414', 'tblTempVendorCDR_20' ) start [2026-03-18 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934414', 'tblTempVendorCDR_20' ) end [2026-03-18 10:02:19] Production.INFO: ProcessCDR(1,16934414,1,1,2) [2026-03-18 10:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16934414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 10:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16934414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 10:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16934414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 10:02:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16934414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 10:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934414', 'tblTempUsageDetail_20' ) start [2026-03-18 10:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934414', 'tblTempUsageDetail_20' ) end [2026-03-18 10:02:41] Production.ERROR: pbx prc_insertCDR start [2026-03-18 10:02:43] Production.ERROR: pbx prc_insertCDR end [2026-03-18 10:02:43] Production.INFO: ==6898== Releasing lock... [2026-03-18 10:02:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 10:02:43] Production.INFO: 46.75 MB #Memory Used# [2026-03-18 11:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 08:02:06 [end_date_ymd] => 2026-03-18 11:02:06 [RateCDR] => 1 ) [2026-03-18 11:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 08:02:06' and `end` < '2026-03-18 11:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 11:02:19] Production.INFO: count ==4340 [2026-03-18 11:02:21] Production.ERROR: pbx CDR StartTime 2026-03-18 08:02:06 - End Time 2026-03-18 11:02:06 [2026-03-18 11:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 11:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934661', 'tblTempUsageDetail_20' ) start [2026-03-18 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934661', 'tblTempUsageDetail_20' ) end [2026-03-18 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934661', 'tblTempVendorCDR_20' ) start [2026-03-18 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934661', 'tblTempVendorCDR_20' ) end [2026-03-18 11:02:22] Production.INFO: ProcessCDR(1,16934661,1,1,2) [2026-03-18 11:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16934661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 11:02:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16934661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 11:02:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16934661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 11:02:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16934661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 11:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934661', 'tblTempUsageDetail_20' ) start [2026-03-18 11:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934661', 'tblTempUsageDetail_20' ) end [2026-03-18 11:02:46] Production.ERROR: pbx prc_insertCDR start [2026-03-18 11:02:49] Production.ERROR: pbx prc_insertCDR end [2026-03-18 11:02:49] Production.INFO: ==11752== Releasing lock... [2026-03-18 11:02:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 11:02:49] Production.INFO: 60.75 MB #Memory Used# [2026-03-18 12:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 09:02:06 [end_date_ymd] => 2026-03-18 12:02:06 [RateCDR] => 1 ) [2026-03-18 12:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 09:02:06' and `end` < '2026-03-18 12:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 12:02:26] Production.INFO: count ==5409 [2026-03-18 12:02:29] Production.ERROR: pbx CDR StartTime 2026-03-18 09:02:06 - End Time 2026-03-18 12:02:06 [2026-03-18 12:02:29] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 12:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934908', 'tblTempUsageDetail_20' ) start [2026-03-18 12:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16934908', 'tblTempUsageDetail_20' ) end [2026-03-18 12:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934908', 'tblTempVendorCDR_20' ) start [2026-03-18 12:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16934908', 'tblTempVendorCDR_20' ) end [2026-03-18 12:02:30] Production.INFO: ProcessCDR(1,16934908,1,1,2) [2026-03-18 12:02:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16934908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 12:02:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16934908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 12:02:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16934908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 12:02:52] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16934908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 12:02:52] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934908', 'tblTempUsageDetail_20' ) start [2026-03-18 12:02:52] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16934908', 'tblTempUsageDetail_20' ) end [2026-03-18 12:02:52] Production.ERROR: pbx prc_insertCDR start [2026-03-18 12:02:56] Production.ERROR: pbx prc_insertCDR end [2026-03-18 12:02:56] Production.INFO: ==16791== Releasing lock... [2026-03-18 12:02:56] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 12:02:56] Production.INFO: 68.75 MB #Memory Used# [2026-03-18 13:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 10:02:05 [end_date_ymd] => 2026-03-18 13:02:05 [RateCDR] => 1 ) [2026-03-18 13:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 10:02:05' and `end` < '2026-03-18 13:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 13:02:19] Production.INFO: count ==5996 [2026-03-18 13:02:22] Production.ERROR: pbx CDR StartTime 2026-03-18 10:02:05 - End Time 2026-03-18 13:02:05 [2026-03-18 13:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935155', 'tblTempUsageDetail_20' ) start [2026-03-18 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935155', 'tblTempUsageDetail_20' ) end [2026-03-18 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935155', 'tblTempVendorCDR_20' ) start [2026-03-18 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935155', 'tblTempVendorCDR_20' ) end [2026-03-18 13:02:22] Production.INFO: ProcessCDR(1,16935155,1,1,2) [2026-03-18 13:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16935155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 13:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16935155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 13:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16935155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 13:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16935155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 13:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935155', 'tblTempUsageDetail_20' ) start [2026-03-18 13:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935155', 'tblTempUsageDetail_20' ) end [2026-03-18 13:02:44] Production.ERROR: pbx prc_insertCDR start [2026-03-18 13:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-18 13:02:47] Production.INFO: ==22221== Releasing lock... [2026-03-18 13:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 13:02:47] Production.INFO: 73.25 MB #Memory Used# [2026-03-18 14:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 11:02:05 [end_date_ymd] => 2026-03-18 14:02:05 [RateCDR] => 1 ) [2026-03-18 14:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 11:02:05' and `end` < '2026-03-18 14:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 14:02:18] Production.INFO: count ==5667 [2026-03-18 14:02:20] Production.ERROR: pbx CDR StartTime 2026-03-18 11:02:05 - End Time 2026-03-18 14:02:05 [2026-03-18 14:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 14:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935402', 'tblTempUsageDetail_20' ) start [2026-03-18 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935402', 'tblTempUsageDetail_20' ) end [2026-03-18 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935402', 'tblTempVendorCDR_20' ) start [2026-03-18 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935402', 'tblTempVendorCDR_20' ) end [2026-03-18 14:02:21] Production.INFO: ProcessCDR(1,16935402,1,1,2) [2026-03-18 14:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16935402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 14:02:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16935402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 14:02:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16935402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 14:02:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16935402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 14:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935402', 'tblTempUsageDetail_20' ) start [2026-03-18 14:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935402', 'tblTempUsageDetail_20' ) end [2026-03-18 14:02:42] Production.ERROR: pbx prc_insertCDR start [2026-03-18 14:02:45] Production.ERROR: pbx prc_insertCDR end [2026-03-18 14:02:45] Production.INFO: ==26924== Releasing lock... [2026-03-18 14:02:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 14:02:45] Production.INFO: 70.75 MB #Memory Used# [2026-03-18 15:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 12:02:06 [end_date_ymd] => 2026-03-18 15:02:06 [RateCDR] => 1 ) [2026-03-18 15:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 12:02:06' and `end` < '2026-03-18 15:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 15:02:20] Production.INFO: count ==5657 [2026-03-18 15:02:24] Production.ERROR: pbx CDR StartTime 2026-03-18 12:02:06 - End Time 2026-03-18 15:02:06 [2026-03-18 15:02:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935649', 'tblTempUsageDetail_20' ) start [2026-03-18 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935649', 'tblTempUsageDetail_20' ) end [2026-03-18 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935649', 'tblTempVendorCDR_20' ) start [2026-03-18 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935649', 'tblTempVendorCDR_20' ) end [2026-03-18 15:02:24] Production.INFO: ProcessCDR(1,16935649,1,1,2) [2026-03-18 15:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16935649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 15:02:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16935649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 15:02:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16935649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 15:02:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16935649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 15:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935649', 'tblTempUsageDetail_20' ) start [2026-03-18 15:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935649', 'tblTempUsageDetail_20' ) end [2026-03-18 15:02:46] Production.ERROR: pbx prc_insertCDR start [2026-03-18 15:02:49] Production.ERROR: pbx prc_insertCDR end [2026-03-18 15:02:49] Production.INFO: ==31453== Releasing lock... [2026-03-18 15:02:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 15:02:49] Production.INFO: 70.5 MB #Memory Used# [2026-03-18 16:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 13:02:05 [end_date_ymd] => 2026-03-18 16:02:05 [RateCDR] => 1 ) [2026-03-18 16:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 13:02:05' and `end` < '2026-03-18 16:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 16:02:19] Production.INFO: count ==5338 [2026-03-18 16:02:22] Production.ERROR: pbx CDR StartTime 2026-03-18 13:02:05 - End Time 2026-03-18 16:02:05 [2026-03-18 16:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935896', 'tblTempUsageDetail_20' ) start [2026-03-18 16:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16935896', 'tblTempUsageDetail_20' ) end [2026-03-18 16:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935896', 'tblTempVendorCDR_20' ) start [2026-03-18 16:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16935896', 'tblTempVendorCDR_20' ) end [2026-03-18 16:02:23] Production.INFO: ProcessCDR(1,16935896,1,1,2) [2026-03-18 16:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16935896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 16:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16935896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 16:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16935896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 16:02:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16935896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 16:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935896', 'tblTempUsageDetail_20' ) start [2026-03-18 16:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16935896', 'tblTempUsageDetail_20' ) end [2026-03-18 16:02:45] Production.ERROR: pbx prc_insertCDR start [2026-03-18 16:02:48] Production.ERROR: pbx prc_insertCDR end [2026-03-18 16:02:48] Production.INFO: ==3957== Releasing lock... [2026-03-18 16:02:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 16:02:48] Production.INFO: 68.25 MB #Memory Used# [2026-03-18 17:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 14:02:05 [end_date_ymd] => 2026-03-18 17:02:05 [RateCDR] => 1 ) [2026-03-18 17:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 14:02:05' and `end` < '2026-03-18 17:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 17:02:27] Production.INFO: count ==5206 [2026-03-18 17:02:30] Production.ERROR: pbx CDR StartTime 2026-03-18 14:02:05 - End Time 2026-03-18 17:02:05 [2026-03-18 17:02:30] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 17:02:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936143', 'tblTempUsageDetail_20' ) start [2026-03-18 17:02:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936143', 'tblTempUsageDetail_20' ) end [2026-03-18 17:02:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936143', 'tblTempVendorCDR_20' ) start [2026-03-18 17:02:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936143', 'tblTempVendorCDR_20' ) end [2026-03-18 17:02:31] Production.INFO: ProcessCDR(1,16936143,1,1,2) [2026-03-18 17:02:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16936143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 17:02:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16936143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 17:02:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16936143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 17:07:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16936143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 17:07:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936143', 'tblTempUsageDetail_20' ) start [2026-03-18 17:07:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936143', 'tblTempUsageDetail_20' ) end [2026-03-18 17:07:30] Production.ERROR: pbx prc_insertCDR start [2026-03-18 17:07:33] Production.ERROR: pbx prc_insertCDR end [2026-03-18 17:07:33] Production.INFO: ==8618== Releasing lock... [2026-03-18 17:07:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 17:07:33] Production.INFO: 67.25 MB #Memory Used# [2026-03-18 18:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 15:02:06 [end_date_ymd] => 2026-03-18 18:02:06 [RateCDR] => 1 ) [2026-03-18 18:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 15:02:06' and `end` < '2026-03-18 18:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 18:02:19] Production.INFO: count ==4665 [2026-03-18 18:02:21] Production.ERROR: pbx CDR StartTime 2026-03-18 15:02:06 - End Time 2026-03-18 18:02:06 [2026-03-18 18:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 18:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936390', 'tblTempUsageDetail_20' ) start [2026-03-18 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936390', 'tblTempUsageDetail_20' ) end [2026-03-18 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936390', 'tblTempVendorCDR_20' ) start [2026-03-18 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936390', 'tblTempVendorCDR_20' ) end [2026-03-18 18:02:22] Production.INFO: ProcessCDR(1,16936390,1,1,2) [2026-03-18 18:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16936390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 18:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16936390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 18:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16936390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 18:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16936390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 18:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936390', 'tblTempUsageDetail_20' ) start [2026-03-18 18:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936390', 'tblTempUsageDetail_20' ) end [2026-03-18 18:07:26] Production.ERROR: pbx prc_insertCDR start [2026-03-18 18:07:28] Production.ERROR: pbx prc_insertCDR end [2026-03-18 18:07:28] Production.INFO: ==13127== Releasing lock... [2026-03-18 18:07:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 18:07:28] Production.INFO: 63 MB #Memory Used# [2026-03-18 19:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 16:02:06 [end_date_ymd] => 2026-03-18 19:02:06 [RateCDR] => 1 ) [2026-03-18 19:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 16:02:06' and `end` < '2026-03-18 19:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 19:02:18] Production.INFO: count ==3695 [2026-03-18 19:02:20] Production.ERROR: pbx CDR StartTime 2026-03-18 16:02:06 - End Time 2026-03-18 19:02:06 [2026-03-18 19:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936636', 'tblTempUsageDetail_20' ) start [2026-03-18 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936636', 'tblTempUsageDetail_20' ) end [2026-03-18 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936636', 'tblTempVendorCDR_20' ) start [2026-03-18 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936636', 'tblTempVendorCDR_20' ) end [2026-03-18 19:02:20] Production.INFO: ProcessCDR(1,16936636,1,1,2) [2026-03-18 19:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16936636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 19:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16936636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 19:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16936636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 19:11:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16936636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 19:11:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936636', 'tblTempUsageDetail_20' ) start [2026-03-18 19:11:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936636', 'tblTempUsageDetail_20' ) end [2026-03-18 19:11:15] Production.ERROR: pbx prc_insertCDR start [2026-03-18 19:11:17] Production.ERROR: pbx prc_insertCDR end [2026-03-18 19:11:17] Production.INFO: ==17727== Releasing lock... [2026-03-18 19:11:17] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 19:11:17] Production.INFO: 55.75 MB #Memory Used# [2026-03-18 20:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 17:02:06 [end_date_ymd] => 2026-03-18 20:02:06 [RateCDR] => 1 ) [2026-03-18 20:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 17:02:06' and `end` < '2026-03-18 20:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 20:02:17] Production.INFO: count ==2667 [2026-03-18 20:02:18] Production.ERROR: pbx CDR StartTime 2026-03-18 17:02:06 - End Time 2026-03-18 20:02:06 [2026-03-18 20:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936883', 'tblTempUsageDetail_20' ) start [2026-03-18 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16936883', 'tblTempUsageDetail_20' ) end [2026-03-18 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936883', 'tblTempVendorCDR_20' ) start [2026-03-18 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16936883', 'tblTempVendorCDR_20' ) end [2026-03-18 20:02:19] Production.INFO: ProcessCDR(1,16936883,1,1,2) [2026-03-18 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16936883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 20:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16936883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 20:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16936883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 20:10:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16936883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 20:10:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936883', 'tblTempUsageDetail_20' ) start [2026-03-18 20:10:48] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16936883', 'tblTempUsageDetail_20' ) end [2026-03-18 20:10:48] Production.ERROR: pbx prc_insertCDR start [2026-03-18 20:10:48] Production.ERROR: pbx prc_insertCDR end [2026-03-18 20:10:48] Production.INFO: ==22252== Releasing lock... [2026-03-18 20:10:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 20:10:48] Production.INFO: 48.75 MB #Memory Used# [2026-03-18 21:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 18:02:06 [end_date_ymd] => 2026-03-18 21:02:06 [RateCDR] => 1 ) [2026-03-18 21:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 18:02:06' and `end` < '2026-03-18 21:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 21:02:18] Production.INFO: count ==1970 [2026-03-18 21:02:18] Production.ERROR: pbx CDR StartTime 2026-03-18 18:02:06 - End Time 2026-03-18 21:02:06 [2026-03-18 21:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16937130', 'tblTempUsageDetail_20' ) start [2026-03-18 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16937130', 'tblTempUsageDetail_20' ) end [2026-03-18 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16937130', 'tblTempVendorCDR_20' ) start [2026-03-18 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16937130', 'tblTempVendorCDR_20' ) end [2026-03-18 21:02:18] Production.INFO: ProcessCDR(1,16937130,1,1,2) [2026-03-18 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16937130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 21:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16937130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 21:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16937130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 21:11:00] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16937130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 21:11:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16937130', 'tblTempUsageDetail_20' ) start [2026-03-18 21:11:01] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16937130', 'tblTempUsageDetail_20' ) end [2026-03-18 21:11:01] Production.ERROR: pbx prc_insertCDR start [2026-03-18 21:11:02] Production.ERROR: pbx prc_insertCDR end [2026-03-18 21:11:02] Production.INFO: ==27070== Releasing lock... [2026-03-18 21:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 21:11:02] Production.INFO: 43.25 MB #Memory Used# [2026-03-18 22:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 19:02:06 [end_date_ymd] => 2026-03-18 22:02:06 [RateCDR] => 1 ) [2026-03-18 22:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 19:02:06' and `end` < '2026-03-18 22:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 22:02:17] Production.INFO: count ==1481 [2026-03-18 22:02:18] Production.ERROR: pbx CDR StartTime 2026-03-18 19:02:06 - End Time 2026-03-18 22:02:06 [2026-03-18 22:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16937377', 'tblTempUsageDetail_20' ) start [2026-03-18 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16937377', 'tblTempUsageDetail_20' ) end [2026-03-18 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16937377', 'tblTempVendorCDR_20' ) start [2026-03-18 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16937377', 'tblTempVendorCDR_20' ) end [2026-03-18 22:02:18] Production.INFO: ProcessCDR(1,16937377,1,1,2) [2026-03-18 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16937377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 22:06:15] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16937377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 22:06:15] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16937377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 22:10:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16937377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 22:10:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16937377', 'tblTempUsageDetail_20' ) start [2026-03-18 22:10:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16937377', 'tblTempUsageDetail_20' ) end [2026-03-18 22:10:45] Production.ERROR: pbx prc_insertCDR start [2026-03-18 22:10:45] Production.ERROR: pbx prc_insertCDR end [2026-03-18 22:10:45] Production.INFO: ==31824== Releasing lock... [2026-03-18 22:10:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 22:10:45] Production.INFO: 39.5 MB #Memory Used# [2026-03-18 23:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-18 20:02:05 [end_date_ymd] => 2026-03-18 23:02:05 [RateCDR] => 1 ) [2026-03-18 23:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-18 20:02:05' and `end` < '2026-03-18 23:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-18 23:02:17] Production.INFO: count ==1229 [2026-03-18 23:02:17] Production.ERROR: pbx CDR StartTime 2026-03-18 20:02:05 - End Time 2026-03-18 23:02:05 [2026-03-18 23:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-18 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16937624', 'tblTempUsageDetail_20' ) start [2026-03-18 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16937624', 'tblTempUsageDetail_20' ) end [2026-03-18 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16937624', 'tblTempVendorCDR_20' ) start [2026-03-18 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16937624', 'tblTempVendorCDR_20' ) end [2026-03-18 23:02:17] Production.INFO: ProcessCDR(1,16937624,1,1,2) [2026-03-18 23:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16937624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 23:06:16] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16937624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-18 23:06:16] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16937624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 23:10:54] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16937624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-18 23:10:54] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16937624', 'tblTempUsageDetail_20' ) start [2026-03-18 23:10:54] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16937624', 'tblTempUsageDetail_20' ) end [2026-03-18 23:10:54] Production.ERROR: pbx prc_insertCDR start [2026-03-18 23:10:54] Production.ERROR: pbx prc_insertCDR end [2026-03-18 23:10:54] Production.INFO: ==4923== Releasing lock... [2026-03-18 23:10:54] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-18 23:10:54] Production.INFO: 37.5 MB #Memory Used#