[2026-01-10 00:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-09 21:01:05 [end_date_ymd] => 2026-01-10 00:01:05 [RateCDR] => 1 ) [2026-01-10 00:01: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-01-09 21:01:05' and `end` < '2026-01-10 00:01: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-01-10 00:01:19] Production.INFO: count ==1073 [2026-01-10 00:01:20] Production.ERROR: pbx CDR StartTime 2026-01-09 21:01:05 - End Time 2026-01-10 00:01:05 [2026-01-10 00:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535014', 'tblTempUsageDetail_20' ) start [2026-01-10 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535014', 'tblTempUsageDetail_20' ) end [2026-01-10 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535014', 'tblTempVendorCDR_20' ) start [2026-01-10 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535014', 'tblTempVendorCDR_20' ) end [2026-01-10 00:01:20] Production.INFO: ProcessCDR(1,16535014,1,1,2) [2026-01-10 00:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16535014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 00:04:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16535014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 00:04:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16535014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 00:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16535014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 00:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535014', 'tblTempUsageDetail_20' ) start [2026-01-10 00:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535014', 'tblTempUsageDetail_20' ) end [2026-01-10 00:08:28] Production.ERROR: pbx prc_insertCDR start [2026-01-10 00:08:28] Production.ERROR: pbx prc_insertCDR end [2026-01-10 00:08:29] Production.INFO: ==533== Releasing lock... [2026-01-10 00:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 00:08:29] Production.INFO: 39.25 MB #Memory Used# [2026-01-10 01:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-09 22:01:06 [end_date_ymd] => 2026-01-10 01:01:06 [RateCDR] => 1 ) [2026-01-10 01:01: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-01-09 22:01:06' and `end` < '2026-01-10 01:01: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-01-10 01:01:21] Production.INFO: count ==710 [2026-01-10 01:01:21] Production.ERROR: pbx CDR StartTime 2026-01-09 22:01:06 - End Time 2026-01-10 01:01:06 [2026-01-10 01:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 01:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535262', 'tblTempUsageDetail_20' ) start [2026-01-10 01:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535262', 'tblTempUsageDetail_20' ) end [2026-01-10 01:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535262', 'tblTempVendorCDR_20' ) start [2026-01-10 01:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535262', 'tblTempVendorCDR_20' ) end [2026-01-10 01:01:21] Production.INFO: ProcessCDR(1,16535262,1,1,2) [2026-01-10 01:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16535262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 01:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16535262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 01:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16535262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 01:08:06] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16535262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 01:08:06] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535262', 'tblTempUsageDetail_20' ) start [2026-01-10 01:08:06] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535262', 'tblTempUsageDetail_20' ) end [2026-01-10 01:08:06] Production.ERROR: pbx prc_insertCDR start [2026-01-10 01:08:06] Production.ERROR: pbx prc_insertCDR end [2026-01-10 01:08:06] Production.INFO: ==7160== Releasing lock... [2026-01-10 01:08:06] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 01:08:06] Production.INFO: 34.25 MB #Memory Used# [2026-01-10 02:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-09 23:01:05 [end_date_ymd] => 2026-01-10 02:01:05 [RateCDR] => 1 ) [2026-01-10 02:01: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-01-09 23:01:05' and `end` < '2026-01-10 02:01: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-01-10 02:01:17] Production.INFO: count ==704 [2026-01-10 02:01:18] Production.ERROR: pbx CDR StartTime 2026-01-09 23:01:05 - End Time 2026-01-10 02:01:05 [2026-01-10 02:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535508', 'tblTempUsageDetail_20' ) start [2026-01-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535508', 'tblTempUsageDetail_20' ) end [2026-01-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535508', 'tblTempVendorCDR_20' ) start [2026-01-10 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535508', 'tblTempVendorCDR_20' ) end [2026-01-10 02:01:18] Production.INFO: ProcessCDR(1,16535508,1,1,2) [2026-01-10 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16535508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 02:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16535508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 02:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16535508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 02:08:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16535508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 02:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535508', 'tblTempUsageDetail_20' ) start [2026-01-10 02:08:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535508', 'tblTempUsageDetail_20' ) end [2026-01-10 02:08:15] Production.ERROR: pbx prc_insertCDR start [2026-01-10 02:08:15] Production.ERROR: pbx prc_insertCDR end [2026-01-10 02:08:15] Production.INFO: ==13672== Releasing lock... [2026-01-10 02:08:15] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 02:08:15] Production.INFO: 33.25 MB #Memory Used# [2026-01-10 03:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 00:01:06 [end_date_ymd] => 2026-01-10 03:01:06 [RateCDR] => 1 ) [2026-01-10 03:01: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-01-10 00:01:06' and `end` < '2026-01-10 03:01: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-01-10 03:01:18] Production.INFO: count ==754 [2026-01-10 03:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 00:01:06 - End Time 2026-01-10 03:01:06 [2026-01-10 03:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535756', 'tblTempUsageDetail_20' ) start [2026-01-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16535756', 'tblTempUsageDetail_20' ) end [2026-01-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535756', 'tblTempVendorCDR_20' ) start [2026-01-10 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16535756', 'tblTempVendorCDR_20' ) end [2026-01-10 03:01:18] Production.INFO: ProcessCDR(1,16535756,1,1,2) [2026-01-10 03:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16535756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 03:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16535756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 03:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16535756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 03:08:06] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16535756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 03:08:06] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535756', 'tblTempUsageDetail_20' ) start [2026-01-10 03:08:07] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16535756', 'tblTempUsageDetail_20' ) end [2026-01-10 03:08:07] Production.ERROR: pbx prc_insertCDR start [2026-01-10 03:08:07] Production.ERROR: pbx prc_insertCDR end [2026-01-10 03:08:07] Production.INFO: ==19114== Releasing lock... [2026-01-10 03:08:07] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 03:08:07] Production.INFO: 34.25 MB #Memory Used# [2026-01-10 04:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 01:01:06 [end_date_ymd] => 2026-01-10 04:01:06 [RateCDR] => 1 ) [2026-01-10 04:01: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-01-10 01:01:06' and `end` < '2026-01-10 04:01: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-01-10 04:01:18] Production.INFO: count ==546 [2026-01-10 04:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 01:01:06 - End Time 2026-01-10 04:01:06 [2026-01-10 04:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536004', 'tblTempUsageDetail_20' ) start [2026-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536004', 'tblTempUsageDetail_20' ) end [2026-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536004', 'tblTempVendorCDR_20' ) start [2026-01-10 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536004', 'tblTempVendorCDR_20' ) end [2026-01-10 04:01:18] Production.INFO: ProcessCDR(1,16536004,1,1,2) [2026-01-10 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16536004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 04:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16536004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 04:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16536004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 04:08:10] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16536004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 04:08:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536004', 'tblTempUsageDetail_20' ) start [2026-01-10 04:08:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536004', 'tblTempUsageDetail_20' ) end [2026-01-10 04:08:10] Production.ERROR: pbx prc_insertCDR start [2026-01-10 04:08:10] Production.ERROR: pbx prc_insertCDR end [2026-01-10 04:08:10] Production.INFO: ==24227== Releasing lock... [2026-01-10 04:08:10] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 04:08:10] Production.INFO: 33 MB #Memory Used# [2026-01-10 05:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 02:01:06 [end_date_ymd] => 2026-01-10 05:01:06 [RateCDR] => 1 ) [2026-01-10 05:01: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-01-10 02:01:06' and `end` < '2026-01-10 05:01: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-01-10 05:01:18] Production.INFO: count ==370 [2026-01-10 05:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 02:01:06 - End Time 2026-01-10 05:01:06 [2026-01-10 05:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536252', 'tblTempUsageDetail_20' ) start [2026-01-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536252', 'tblTempUsageDetail_20' ) end [2026-01-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536252', 'tblTempVendorCDR_20' ) start [2026-01-10 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536252', 'tblTempVendorCDR_20' ) end [2026-01-10 05:01:18] Production.INFO: ProcessCDR(1,16536252,1,1,2) [2026-01-10 05:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16536252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 05:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16536252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 05:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16536252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 05:08:05] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16536252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 05:08:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536252', 'tblTempUsageDetail_20' ) start [2026-01-10 05:08:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536252', 'tblTempUsageDetail_20' ) end [2026-01-10 05:08:05] Production.ERROR: pbx prc_insertCDR start [2026-01-10 05:08:05] Production.ERROR: pbx prc_insertCDR end [2026-01-10 05:08:05] Production.INFO: ==28859== Releasing lock... [2026-01-10 05:08:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 05:08:05] Production.INFO: 31.5 MB #Memory Used# [2026-01-10 06:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 03:01:06 [end_date_ymd] => 2026-01-10 06:01:06 [RateCDR] => 1 ) [2026-01-10 06:01: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-01-10 03:01:06' and `end` < '2026-01-10 06:01: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-01-10 06:01:18] Production.INFO: count ==148 [2026-01-10 06:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 03:01:06 - End Time 2026-01-10 06:01:06 [2026-01-10 06:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536499', 'tblTempUsageDetail_20' ) start [2026-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536499', 'tblTempUsageDetail_20' ) end [2026-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536499', 'tblTempVendorCDR_20' ) start [2026-01-10 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536499', 'tblTempVendorCDR_20' ) end [2026-01-10 06:01:18] Production.INFO: ProcessCDR(1,16536499,1,1,2) [2026-01-10 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16536499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 06:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16536499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 06:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16536499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 06:07:54] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16536499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 06:07:54] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536499', 'tblTempUsageDetail_20' ) start [2026-01-10 06:07:54] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536499', 'tblTempUsageDetail_20' ) end [2026-01-10 06:07:54] Production.ERROR: pbx prc_insertCDR start [2026-01-10 06:07:54] Production.ERROR: pbx prc_insertCDR end [2026-01-10 06:07:54] Production.INFO: ==817== Releasing lock... [2026-01-10 06:07:54] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 06:07:54] Production.INFO: 29.25 MB #Memory Used# [2026-01-10 07:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 04:01:06 [end_date_ymd] => 2026-01-10 07:01:06 [RateCDR] => 1 ) [2026-01-10 07:01: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-01-10 04:01:06' and `end` < '2026-01-10 07:01: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-01-10 07:01:18] Production.INFO: count ==94 [2026-01-10 07:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 04:01:06 - End Time 2026-01-10 07:01:06 [2026-01-10 07:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536746', 'tblTempUsageDetail_20' ) start [2026-01-10 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536746', 'tblTempUsageDetail_20' ) end [2026-01-10 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536746', 'tblTempVendorCDR_20' ) start [2026-01-10 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536746', 'tblTempVendorCDR_20' ) end [2026-01-10 07:01:18] Production.INFO: ProcessCDR(1,16536746,1,1,2) [2026-01-10 07:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16536746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 07:03:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16536746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 07:03:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16536746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 07:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16536746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 07:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536746', 'tblTempUsageDetail_20' ) start [2026-01-10 07:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536746', 'tblTempUsageDetail_20' ) end [2026-01-10 07:07:26] Production.ERROR: pbx prc_insertCDR start [2026-01-10 07:07:26] Production.ERROR: pbx prc_insertCDR end [2026-01-10 07:07:26] Production.INFO: ==5215== Releasing lock... [2026-01-10 07:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 07:07:26] Production.INFO: 28.5 MB #Memory Used# [2026-01-10 08:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 05:01:06 [end_date_ymd] => 2026-01-10 08:01:06 [RateCDR] => 1 ) [2026-01-10 08:01: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-01-10 05:01:06' and `end` < '2026-01-10 08:01: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-01-10 08:01:18] Production.INFO: count ==90 [2026-01-10 08:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 05:01:06 - End Time 2026-01-10 08:01:06 [2026-01-10 08:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536993', 'tblTempUsageDetail_20' ) start [2026-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16536993', 'tblTempUsageDetail_20' ) end [2026-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536993', 'tblTempVendorCDR_20' ) start [2026-01-10 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16536993', 'tblTempVendorCDR_20' ) end [2026-01-10 08:01:18] Production.INFO: ProcessCDR(1,16536993,1,1,2) [2026-01-10 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16536993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 08:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16536993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 08:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16536993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 08:08:00] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16536993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 08:08:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536993', 'tblTempUsageDetail_20' ) start [2026-01-10 08:08:01] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16536993', 'tblTempUsageDetail_20' ) end [2026-01-10 08:08:01] Production.ERROR: pbx prc_insertCDR start [2026-01-10 08:08:01] Production.ERROR: pbx prc_insertCDR end [2026-01-10 08:08:01] Production.INFO: ==9622== Releasing lock... [2026-01-10 08:08:01] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 08:08:01] Production.INFO: 28.5 MB #Memory Used# [2026-01-10 09:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 06:01:06 [end_date_ymd] => 2026-01-10 09:01:06 [RateCDR] => 1 ) [2026-01-10 09:01: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-01-10 06:01:06' and `end` < '2026-01-10 09:01: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-01-10 09:01:18] Production.INFO: count ==169 [2026-01-10 09:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 06:01:06 - End Time 2026-01-10 09:01:06 [2026-01-10 09:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537240', 'tblTempUsageDetail_20' ) start [2026-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537240', 'tblTempUsageDetail_20' ) end [2026-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537240', 'tblTempVendorCDR_20' ) start [2026-01-10 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537240', 'tblTempVendorCDR_20' ) end [2026-01-10 09:01:18] Production.INFO: ProcessCDR(1,16537240,1,1,2) [2026-01-10 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16537240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 09:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16537240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 09:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16537240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 09:08:03] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16537240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 09:08:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537240', 'tblTempUsageDetail_20' ) start [2026-01-10 09:08:04] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537240', 'tblTempUsageDetail_20' ) end [2026-01-10 09:08:04] Production.ERROR: pbx prc_insertCDR start [2026-01-10 09:08:04] Production.ERROR: pbx prc_insertCDR end [2026-01-10 09:08:05] Production.INFO: ==14139== Releasing lock... [2026-01-10 09:08:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 09:08:05] Production.INFO: 29.25 MB #Memory Used# [2026-01-10 10:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 07:01:06 [end_date_ymd] => 2026-01-10 10:01:06 [RateCDR] => 1 ) [2026-01-10 10:01: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-01-10 07:01:06' and `end` < '2026-01-10 10:01: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-01-10 10:01:18] Production.INFO: count ==774 [2026-01-10 10:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 07:01:06 - End Time 2026-01-10 10:01:06 [2026-01-10 10:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537487', 'tblTempUsageDetail_20' ) start [2026-01-10 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537487', 'tblTempUsageDetail_20' ) end [2026-01-10 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537487', 'tblTempVendorCDR_20' ) start [2026-01-10 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537487', 'tblTempVendorCDR_20' ) end [2026-01-10 10:01:19] Production.INFO: ProcessCDR(1,16537487,1,1,2) [2026-01-10 10:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16537487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 10:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16537487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 10:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16537487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 10:08:13] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16537487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 10:08:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537487', 'tblTempUsageDetail_20' ) start [2026-01-10 10:08:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537487', 'tblTempUsageDetail_20' ) end [2026-01-10 10:08:13] Production.ERROR: pbx prc_insertCDR start [2026-01-10 10:08:14] Production.ERROR: pbx prc_insertCDR end [2026-01-10 10:08:14] Production.INFO: ==18573== Releasing lock... [2026-01-10 10:08:14] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 10:08:14] Production.INFO: 34.25 MB #Memory Used# [2026-01-10 11:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 08:01:07 [end_date_ymd] => 2026-01-10 11:01:07 [RateCDR] => 1 ) [2026-01-10 11:01:07] 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-01-10 08:01:07' and `end` < '2026-01-10 11:01:07' 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-01-10 11:01:19] Production.INFO: count ==1329 [2026-01-10 11:01:20] Production.ERROR: pbx CDR StartTime 2026-01-10 08:01:07 - End Time 2026-01-10 11:01:07 [2026-01-10 11:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537734', 'tblTempUsageDetail_20' ) start [2026-01-10 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537734', 'tblTempUsageDetail_20' ) end [2026-01-10 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537734', 'tblTempVendorCDR_20' ) start [2026-01-10 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537734', 'tblTempVendorCDR_20' ) end [2026-01-10 11:01:20] Production.INFO: ProcessCDR(1,16537734,1,1,2) [2026-01-10 11:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16537734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 11:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16537734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 11:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16537734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 11:08:12] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16537734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 11:08:12] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537734', 'tblTempUsageDetail_20' ) start [2026-01-10 11:08:12] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537734', 'tblTempUsageDetail_20' ) end [2026-01-10 11:08:12] Production.ERROR: pbx prc_insertCDR start [2026-01-10 11:08:13] Production.ERROR: pbx prc_insertCDR end [2026-01-10 11:08:13] Production.INFO: ==22948== Releasing lock... [2026-01-10 11:08:13] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 11:08:13] Production.INFO: 38.25 MB #Memory Used# [2026-01-10 12:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 09:01:06 [end_date_ymd] => 2026-01-10 12:01:06 [RateCDR] => 1 ) [2026-01-10 12:01: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-01-10 09:01:06' and `end` < '2026-01-10 12:01: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-01-10 12:01:19] Production.INFO: count ==1912 [2026-01-10 12:01:20] Production.ERROR: pbx CDR StartTime 2026-01-10 09:01:06 - End Time 2026-01-10 12:01:06 [2026-01-10 12:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 12:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537981', 'tblTempUsageDetail_20' ) start [2026-01-10 12:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16537981', 'tblTempUsageDetail_20' ) end [2026-01-10 12:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537981', 'tblTempVendorCDR_20' ) start [2026-01-10 12:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16537981', 'tblTempVendorCDR_20' ) end [2026-01-10 12:01:20] Production.INFO: ProcessCDR(1,16537981,1,1,2) [2026-01-10 12:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16537981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 12:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16537981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 12:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16537981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 12:08:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16537981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 12:08:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537981', 'tblTempUsageDetail_20' ) start [2026-01-10 12:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16537981', 'tblTempUsageDetail_20' ) end [2026-01-10 12:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-10 12:08:20] Production.ERROR: pbx prc_insertCDR end [2026-01-10 12:08:20] Production.INFO: ==27478== Releasing lock... [2026-01-10 12:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 12:08:20] Production.INFO: 42.5 MB #Memory Used# [2026-01-10 13:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 10:01:06 [end_date_ymd] => 2026-01-10 13:01:06 [RateCDR] => 1 ) [2026-01-10 13:01: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-01-10 10:01:06' and `end` < '2026-01-10 13:01: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-01-10 13:01:18] Production.INFO: count ==1954 [2026-01-10 13:01:19] Production.ERROR: pbx CDR StartTime 2026-01-10 10:01:06 - End Time 2026-01-10 13:01:06 [2026-01-10 13:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538228', 'tblTempUsageDetail_20' ) start [2026-01-10 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538228', 'tblTempUsageDetail_20' ) end [2026-01-10 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538228', 'tblTempVendorCDR_20' ) start [2026-01-10 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538228', 'tblTempVendorCDR_20' ) end [2026-01-10 13:01:19] Production.INFO: ProcessCDR(1,16538228,1,1,2) [2026-01-10 13:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16538228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 13:04:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16538228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 13:04:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16538228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 13:08:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16538228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 13:08:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538228', 'tblTempUsageDetail_20' ) start [2026-01-10 13:08:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538228', 'tblTempUsageDetail_20' ) end [2026-01-10 13:08:31] Production.ERROR: pbx prc_insertCDR start [2026-01-10 13:08:32] Production.ERROR: pbx prc_insertCDR end [2026-01-10 13:08:32] Production.INFO: ==32078== Releasing lock... [2026-01-10 13:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 13:08:32] Production.INFO: 43.25 MB #Memory Used# [2026-01-10 14:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 11:01:06 [end_date_ymd] => 2026-01-10 14:01:06 [RateCDR] => 1 ) [2026-01-10 14:01: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-01-10 11:01:06' and `end` < '2026-01-10 14:01: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-01-10 14:01:18] Production.INFO: count ==1918 [2026-01-10 14:01:19] Production.ERROR: pbx CDR StartTime 2026-01-10 11:01:06 - End Time 2026-01-10 14:01:06 [2026-01-10 14:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538475', 'tblTempUsageDetail_20' ) start [2026-01-10 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538475', 'tblTempUsageDetail_20' ) end [2026-01-10 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538475', 'tblTempVendorCDR_20' ) start [2026-01-10 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538475', 'tblTempVendorCDR_20' ) end [2026-01-10 14:01:19] Production.INFO: ProcessCDR(1,16538475,1,1,2) [2026-01-10 14:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16538475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 14:04:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16538475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 14:04:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16538475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 14:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16538475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 14:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538475', 'tblTempUsageDetail_20' ) start [2026-01-10 14:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538475', 'tblTempUsageDetail_20' ) end [2026-01-10 14:08:20] Production.ERROR: pbx prc_insertCDR start [2026-01-10 14:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-10 14:08:21] Production.INFO: ==4654== Releasing lock... [2026-01-10 14:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 14:08:21] Production.INFO: 42.5 MB #Memory Used# [2026-01-10 15:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 12:01:06 [end_date_ymd] => 2026-01-10 15:01:06 [RateCDR] => 1 ) [2026-01-10 15:01: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-01-10 12:01:06' and `end` < '2026-01-10 15:01: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-01-10 15:01:18] Production.INFO: count ==1663 [2026-01-10 15:01:19] Production.ERROR: pbx CDR StartTime 2026-01-10 12:01:06 - End Time 2026-01-10 15:01:06 [2026-01-10 15:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538722', 'tblTempUsageDetail_20' ) start [2026-01-10 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538722', 'tblTempUsageDetail_20' ) end [2026-01-10 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538722', 'tblTempVendorCDR_20' ) start [2026-01-10 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538722', 'tblTempVendorCDR_20' ) end [2026-01-10 15:01:19] Production.INFO: ProcessCDR(1,16538722,1,1,2) [2026-01-10 15:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16538722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 15:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16538722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 15:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16538722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 15:08:05] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16538722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 15:08:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538722', 'tblTempUsageDetail_20' ) start [2026-01-10 15:08:07] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538722', 'tblTempUsageDetail_20' ) end [2026-01-10 15:08:07] Production.ERROR: pbx prc_insertCDR start [2026-01-10 15:08:08] Production.ERROR: pbx prc_insertCDR end [2026-01-10 15:08:08] Production.INFO: ==9024== Releasing lock... [2026-01-10 15:08:08] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 15:08:08] Production.INFO: 41.25 MB #Memory Used# [2026-01-10 16:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 13:01:06 [end_date_ymd] => 2026-01-10 16:01:06 [RateCDR] => 1 ) [2026-01-10 16:01: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-01-10 13:01:06' and `end` < '2026-01-10 16:01: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-01-10 16:01:18] Production.INFO: count ==1560 [2026-01-10 16:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 13:01:06 - End Time 2026-01-10 16:01:06 [2026-01-10 16:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538968', 'tblTempUsageDetail_20' ) start [2026-01-10 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16538968', 'tblTempUsageDetail_20' ) end [2026-01-10 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538968', 'tblTempVendorCDR_20' ) start [2026-01-10 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16538968', 'tblTempVendorCDR_20' ) end [2026-01-10 16:01:19] Production.INFO: ProcessCDR(1,16538968,1,1,2) [2026-01-10 16:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16538968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 16:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16538968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 16:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16538968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 16:08:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16538968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 16:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538968', 'tblTempUsageDetail_20' ) start [2026-01-10 16:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16538968', 'tblTempUsageDetail_20' ) end [2026-01-10 16:08:20] Production.ERROR: pbx prc_insertCDR start [2026-01-10 16:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-10 16:08:21] Production.INFO: ==13434== Releasing lock... [2026-01-10 16:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 16:08:21] Production.INFO: 40 MB #Memory Used# [2026-01-10 17:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 14:01:06 [end_date_ymd] => 2026-01-10 17:01:06 [RateCDR] => 1 ) [2026-01-10 17:01: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-01-10 14:01:06' and `end` < '2026-01-10 17:01: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-01-10 17:01:19] Production.INFO: count ==1777 [2026-01-10 17:01:19] Production.ERROR: pbx CDR StartTime 2026-01-10 14:01:06 - End Time 2026-01-10 17:01:06 [2026-01-10 17:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539216', 'tblTempUsageDetail_20' ) start [2026-01-10 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539216', 'tblTempUsageDetail_20' ) end [2026-01-10 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539216', 'tblTempVendorCDR_20' ) start [2026-01-10 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539216', 'tblTempVendorCDR_20' ) end [2026-01-10 17:01:19] Production.INFO: ProcessCDR(1,16539216,1,1,2) [2026-01-10 17:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16539216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 17:04:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16539216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 17:04:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16539216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 17:08:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16539216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 17:08:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539216', 'tblTempUsageDetail_20' ) start [2026-01-10 17:08:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539216', 'tblTempUsageDetail_20' ) end [2026-01-10 17:08:42] Production.ERROR: pbx prc_insertCDR start [2026-01-10 17:08:43] Production.ERROR: pbx prc_insertCDR end [2026-01-10 17:08:43] Production.INFO: ==17948== Releasing lock... [2026-01-10 17:08:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 17:08:43] Production.INFO: 41.5 MB #Memory Used# [2026-01-10 18:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 15:01:06 [end_date_ymd] => 2026-01-10 18:01:06 [RateCDR] => 1 ) [2026-01-10 18:01: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-01-10 15:01:06' and `end` < '2026-01-10 18:01: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-01-10 18:01:21] Production.INFO: count ==2153 [2026-01-10 18:01:21] Production.ERROR: pbx CDR StartTime 2026-01-10 15:01:06 - End Time 2026-01-10 18:01:06 [2026-01-10 18:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539459', 'tblTempUsageDetail_20' ) start [2026-01-10 18:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539459', 'tblTempUsageDetail_20' ) end [2026-01-10 18:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539459', 'tblTempVendorCDR_20' ) start [2026-01-10 18:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539459', 'tblTempVendorCDR_20' ) end [2026-01-10 18:01:22] Production.INFO: ProcessCDR(1,16539459,1,1,2) [2026-01-10 18:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16539459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 18:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16539459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 18:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16539459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 18:08:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16539459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 18:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539459', 'tblTempUsageDetail_20' ) start [2026-01-10 18:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539459', 'tblTempUsageDetail_20' ) end [2026-01-10 18:08:14] Production.ERROR: pbx prc_insertCDR start [2026-01-10 18:08:16] Production.ERROR: pbx prc_insertCDR end [2026-01-10 18:08:16] Production.INFO: ==22358== Releasing lock... [2026-01-10 18:08:16] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 18:08:16] Production.INFO: 44.25 MB #Memory Used# [2026-01-10 19:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 16:01:06 [end_date_ymd] => 2026-01-10 19:01:06 [RateCDR] => 1 ) [2026-01-10 19:01: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-01-10 16:01:06' and `end` < '2026-01-10 19:01: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-01-10 19:01:18] Production.INFO: count ==2573 [2026-01-10 19:01:19] Production.ERROR: pbx CDR StartTime 2026-01-10 16:01:06 - End Time 2026-01-10 19:01:06 [2026-01-10 19:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539707', 'tblTempUsageDetail_20' ) start [2026-01-10 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539707', 'tblTempUsageDetail_20' ) end [2026-01-10 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539707', 'tblTempVendorCDR_20' ) start [2026-01-10 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539707', 'tblTempVendorCDR_20' ) end [2026-01-10 19:01:20] Production.INFO: ProcessCDR(1,16539707,1,1,2) [2026-01-10 19:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16539707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 19:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16539707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 19:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16539707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 19:07:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16539707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 19:07:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539707', 'tblTempUsageDetail_20' ) start [2026-01-10 19:07:57] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539707', 'tblTempUsageDetail_20' ) end [2026-01-10 19:07:57] Production.ERROR: pbx prc_insertCDR start [2026-01-10 19:07:58] Production.ERROR: pbx prc_insertCDR end [2026-01-10 19:07:58] Production.INFO: ==28065== Releasing lock... [2026-01-10 19:07:58] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 19:07:58] Production.INFO: 47.5 MB #Memory Used# [2026-01-10 20:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 17:01:06 [end_date_ymd] => 2026-01-10 20:01:06 [RateCDR] => 1 ) [2026-01-10 20:01: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-01-10 17:01:06' and `end` < '2026-01-10 20:01: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-01-10 20:01:19] Production.INFO: count ==2493 [2026-01-10 20:01:20] Production.ERROR: pbx CDR StartTime 2026-01-10 17:01:06 - End Time 2026-01-10 20:01:06 [2026-01-10 20:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539954', 'tblTempUsageDetail_20' ) start [2026-01-10 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16539954', 'tblTempUsageDetail_20' ) end [2026-01-10 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539954', 'tblTempVendorCDR_20' ) start [2026-01-10 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16539954', 'tblTempVendorCDR_20' ) end [2026-01-10 20:01:20] Production.INFO: ProcessCDR(1,16539954,1,1,2) [2026-01-10 20:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16539954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 20:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16539954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 20:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16539954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 20:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16539954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 20:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539954', 'tblTempUsageDetail_20' ) start [2026-01-10 20:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16539954', 'tblTempUsageDetail_20' ) end [2026-01-10 20:08:25] Production.ERROR: pbx prc_insertCDR start [2026-01-10 20:08:26] Production.ERROR: pbx prc_insertCDR end [2026-01-10 20:08:26] Production.INFO: ==32473== Releasing lock... [2026-01-10 20:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 20:08:26] Production.INFO: 47 MB #Memory Used# [2026-01-10 21:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 18:01:07 [end_date_ymd] => 2026-01-10 21:01:07 [RateCDR] => 1 ) [2026-01-10 21:01:07] 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-01-10 18:01:07' and `end` < '2026-01-10 21:01:07' 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-01-10 21:01:19] Production.INFO: count ==2292 [2026-01-10 21:01:20] Production.ERROR: pbx CDR StartTime 2026-01-10 18:01:07 - End Time 2026-01-10 21:01:07 [2026-01-10 21:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16540201', 'tblTempUsageDetail_20' ) start [2026-01-10 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16540201', 'tblTempUsageDetail_20' ) end [2026-01-10 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16540201', 'tblTempVendorCDR_20' ) start [2026-01-10 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16540201', 'tblTempVendorCDR_20' ) end [2026-01-10 21:01:20] Production.INFO: ProcessCDR(1,16540201,1,1,2) [2026-01-10 21:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16540201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 21:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16540201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 21:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16540201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 21:08:09] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16540201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 21:08:09] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16540201', 'tblTempUsageDetail_20' ) start [2026-01-10 21:08:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16540201', 'tblTempUsageDetail_20' ) end [2026-01-10 21:08:10] Production.ERROR: pbx prc_insertCDR start [2026-01-10 21:08:11] Production.ERROR: pbx prc_insertCDR end [2026-01-10 21:08:11] Production.INFO: ==4421== Releasing lock... [2026-01-10 21:08:11] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 21:08:11] Production.INFO: 45.25 MB #Memory Used# [2026-01-10 22:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 19:01:05 [end_date_ymd] => 2026-01-10 22:01:05 [RateCDR] => 1 ) [2026-01-10 22:01: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-01-10 19:01:05' and `end` < '2026-01-10 22:01: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-01-10 22:01:18] Production.INFO: count ==1867 [2026-01-10 22:01:18] Production.ERROR: pbx CDR StartTime 2026-01-10 19:01:05 - End Time 2026-01-10 22:01:05 [2026-01-10 22:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16540448', 'tblTempUsageDetail_20' ) start [2026-01-10 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16540448', 'tblTempUsageDetail_20' ) end [2026-01-10 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16540448', 'tblTempVendorCDR_20' ) start [2026-01-10 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16540448', 'tblTempVendorCDR_20' ) end [2026-01-10 22:01:18] Production.INFO: ProcessCDR(1,16540448,1,1,2) [2026-01-10 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16540448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 22:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16540448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 22:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16540448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 22:08:03] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16540448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 22:08:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16540448', 'tblTempUsageDetail_20' ) start [2026-01-10 22:08:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16540448', 'tblTempUsageDetail_20' ) end [2026-01-10 22:08:03] Production.ERROR: pbx prc_insertCDR start [2026-01-10 22:08:04] Production.ERROR: pbx prc_insertCDR end [2026-01-10 22:08:04] Production.INFO: ==8764== Releasing lock... [2026-01-10 22:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 22:08:04] Production.INFO: 42.25 MB #Memory Used# [2026-01-10 23:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-10 20:01:06 [end_date_ymd] => 2026-01-10 23:01:06 [RateCDR] => 1 ) [2026-01-10 23:01: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-01-10 20:01:06' and `end` < '2026-01-10 23:01: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-01-10 23:01:18] Production.INFO: count ==1541 [2026-01-10 23:01:19] Production.ERROR: pbx CDR StartTime 2026-01-10 20:01:06 - End Time 2026-01-10 23:01:06 [2026-01-10 23:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-10 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16540695', 'tblTempUsageDetail_20' ) start [2026-01-10 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16540695', 'tblTempUsageDetail_20' ) end [2026-01-10 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16540695', 'tblTempVendorCDR_20' ) start [2026-01-10 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16540695', 'tblTempVendorCDR_20' ) end [2026-01-10 23:01:19] Production.INFO: ProcessCDR(1,16540695,1,1,2) [2026-01-10 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16540695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 23:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16540695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-10 23:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16540695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 23:08:11] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16540695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-10 23:08:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16540695', 'tblTempUsageDetail_20' ) start [2026-01-10 23:08:12] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16540695', 'tblTempUsageDetail_20' ) end [2026-01-10 23:08:12] Production.ERROR: pbx prc_insertCDR start [2026-01-10 23:08:12] Production.ERROR: pbx prc_insertCDR end [2026-01-10 23:08:12] Production.INFO: ==13399== Releasing lock... [2026-01-10 23:08:12] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-10 23:08:12] Production.INFO: 39.75 MB #Memory Used#