[2026-01-14 00:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 21:01:06 [end_date_ymd] => 2026-01-14 00:01:06 [RateCDR] => 1 ) [2026-01-14 00: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-13 21:01:06' and `end` < '2026-01-14 00: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-14 00:01:26] Production.INFO: count ==756 [2026-01-14 00:01:26] Production.ERROR: pbx CDR StartTime 2026-01-13 21:01:06 - End Time 2026-01-14 00:01:06 [2026-01-14 00:01:26] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 00:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558727', 'tblTempUsageDetail_20' ) start [2026-01-14 00:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558727', 'tblTempUsageDetail_20' ) end [2026-01-14 00:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558727', 'tblTempVendorCDR_20' ) start [2026-01-14 00:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558727', 'tblTempVendorCDR_20' ) end [2026-01-14 00:01:26] Production.INFO: ProcessCDR(1,16558727,1,1,2) [2026-01-14 00:01:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16558727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 00:04:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16558727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 00:04:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16558727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 00:08:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16558727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 00:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558727', 'tblTempUsageDetail_20' ) start [2026-01-14 00:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558727', 'tblTempUsageDetail_20' ) end [2026-01-14 00:08:29] Production.ERROR: pbx prc_insertCDR start [2026-01-14 00:08:29] Production.ERROR: pbx prc_insertCDR end [2026-01-14 00:08:31] Production.INFO: ==23096== Releasing lock... [2026-01-14 00:08:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 00:08:31] Production.INFO: 37.25 MB #Memory Used# [2026-01-14 01:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 22:01:06 [end_date_ymd] => 2026-01-14 01:01:06 [RateCDR] => 1 ) [2026-01-14 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-13 22:01:06' and `end` < '2026-01-14 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-14 01:01:22] Production.INFO: count ==538 [2026-01-14 01:01:22] Production.ERROR: pbx CDR StartTime 2026-01-13 22:01:06 - End Time 2026-01-14 01:01:06 [2026-01-14 01:01:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 01:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558974', 'tblTempUsageDetail_20' ) start [2026-01-14 01:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558974', 'tblTempUsageDetail_20' ) end [2026-01-14 01:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558974', 'tblTempVendorCDR_20' ) start [2026-01-14 01:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558974', 'tblTempVendorCDR_20' ) end [2026-01-14 01:01:22] Production.INFO: ProcessCDR(1,16558974,1,1,2) [2026-01-14 01:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16558974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 01:04:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16558974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 01:04:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16558974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 01:08:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16558974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 01:08:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558974', 'tblTempUsageDetail_20' ) start [2026-01-14 01:08:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558974', 'tblTempUsageDetail_20' ) end [2026-01-14 01:08:38] Production.ERROR: pbx prc_insertCDR start [2026-01-14 01:08:38] Production.ERROR: pbx prc_insertCDR end [2026-01-14 01:08:38] Production.INFO: ==30848== Releasing lock... [2026-01-14 01:08:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 01:08:38] Production.INFO: 32.5 MB #Memory Used# [2026-01-14 02:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 23:01:06 [end_date_ymd] => 2026-01-14 02:01:06 [RateCDR] => 1 ) [2026-01-14 02: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-13 23:01:06' and `end` < '2026-01-14 02: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-14 02:01:18] Production.INFO: count ==495 [2026-01-14 02:01:18] Production.ERROR: pbx CDR StartTime 2026-01-13 23:01:06 - End Time 2026-01-14 02:01:06 [2026-01-14 02:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559221', 'tblTempUsageDetail_20' ) start [2026-01-14 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559221', 'tblTempUsageDetail_20' ) end [2026-01-14 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559221', 'tblTempVendorCDR_20' ) start [2026-01-14 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559221', 'tblTempVendorCDR_20' ) end [2026-01-14 02:01:18] Production.INFO: ProcessCDR(1,16559221,1,1,2) [2026-01-14 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16559221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 02:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16559221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 02:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16559221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 02:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16559221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 02:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559221', 'tblTempUsageDetail_20' ) start [2026-01-14 02:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559221', 'tblTempUsageDetail_20' ) end [2026-01-14 02:08:23] Production.ERROR: pbx prc_insertCDR start [2026-01-14 02:08:23] Production.ERROR: pbx prc_insertCDR end [2026-01-14 02:08:23] Production.INFO: ==5649== Releasing lock... [2026-01-14 02:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 02:08:23] Production.INFO: 32.5 MB #Memory Used# [2026-01-14 03:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 00:01:06 [end_date_ymd] => 2026-01-14 03:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 00:01:06' and `end` < '2026-01-14 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-14 03:01:18] Production.INFO: count ==417 [2026-01-14 03:01:18] Production.ERROR: pbx CDR StartTime 2026-01-14 00:01:06 - End Time 2026-01-14 03:01:06 [2026-01-14 03:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559468', 'tblTempUsageDetail_20' ) start [2026-01-14 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559468', 'tblTempUsageDetail_20' ) end [2026-01-14 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559468', 'tblTempVendorCDR_20' ) start [2026-01-14 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559468', 'tblTempVendorCDR_20' ) end [2026-01-14 03:01:18] Production.INFO: ProcessCDR(1,16559468,1,1,2) [2026-01-14 03:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16559468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 03:04:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16559468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 03:04:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16559468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 03:08:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16559468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 03:08:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559468', 'tblTempUsageDetail_20' ) start [2026-01-14 03:08:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559468', 'tblTempUsageDetail_20' ) end [2026-01-14 03:08:36] Production.ERROR: pbx prc_insertCDR start [2026-01-14 03:08:36] Production.ERROR: pbx prc_insertCDR end [2026-01-14 03:08:36] Production.INFO: ==14775== Releasing lock... [2026-01-14 03:08:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 03:08:36] Production.INFO: 31.75 MB #Memory Used# [2026-01-14 04:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 01:01:06 [end_date_ymd] => 2026-01-14 04:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 01:01:06' and `end` < '2026-01-14 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-14 04:01:18] Production.INFO: count ==276 [2026-01-14 04:01:18] Production.ERROR: pbx CDR StartTime 2026-01-14 01:01:06 - End Time 2026-01-14 04:01:06 [2026-01-14 04:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559716', 'tblTempUsageDetail_20' ) start [2026-01-14 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559716', 'tblTempUsageDetail_20' ) end [2026-01-14 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559716', 'tblTempVendorCDR_20' ) start [2026-01-14 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559716', 'tblTempVendorCDR_20' ) end [2026-01-14 04:01:18] Production.INFO: ProcessCDR(1,16559716,1,1,2) [2026-01-14 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16559716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 04:04:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16559716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 04:04:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16559716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 04:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16559716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 04:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559716', 'tblTempUsageDetail_20' ) start [2026-01-14 04:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559716', 'tblTempUsageDetail_20' ) end [2026-01-14 04:08:24] Production.ERROR: pbx prc_insertCDR start [2026-01-14 04:08:24] Production.ERROR: pbx prc_insertCDR end [2026-01-14 04:08:24] Production.INFO: ==21272== Releasing lock... [2026-01-14 04:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 04:08:24] Production.INFO: 30.75 MB #Memory Used# [2026-01-14 05:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 02:01:06 [end_date_ymd] => 2026-01-14 05:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 02:01:06' and `end` < '2026-01-14 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-14 05:01:18] Production.INFO: count ==165 [2026-01-14 05:01:18] Production.ERROR: pbx CDR StartTime 2026-01-14 02:01:06 - End Time 2026-01-14 05:01:06 [2026-01-14 05:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559963', 'tblTempUsageDetail_20' ) start [2026-01-14 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16559963', 'tblTempUsageDetail_20' ) end [2026-01-14 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559963', 'tblTempVendorCDR_20' ) start [2026-01-14 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16559963', 'tblTempVendorCDR_20' ) end [2026-01-14 05:01:19] Production.INFO: ProcessCDR(1,16559963,1,1,2) [2026-01-14 05:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16559963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 05:03:53] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16559963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 05:03:53] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16559963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 05:07:51] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16559963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 05:07:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559963', 'tblTempUsageDetail_20' ) start [2026-01-14 05:07:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16559963', 'tblTempUsageDetail_20' ) end [2026-01-14 05:07:51] Production.ERROR: pbx prc_insertCDR start [2026-01-14 05:07:51] Production.ERROR: pbx prc_insertCDR end [2026-01-14 05:07:51] Production.INFO: ==26225== Releasing lock... [2026-01-14 05:07:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 05:07:51] Production.INFO: 29.25 MB #Memory Used# [2026-01-14 06:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 03:01:06 [end_date_ymd] => 2026-01-14 06:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 03:01:06' and `end` < '2026-01-14 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-14 06:01:18] Production.INFO: count ==122 [2026-01-14 06:01:18] Production.ERROR: pbx CDR StartTime 2026-01-14 03:01:06 - End Time 2026-01-14 06:01:06 [2026-01-14 06:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560211', 'tblTempUsageDetail_20' ) start [2026-01-14 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560211', 'tblTempUsageDetail_20' ) end [2026-01-14 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560211', 'tblTempVendorCDR_20' ) start [2026-01-14 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560211', 'tblTempVendorCDR_20' ) end [2026-01-14 06:01:18] Production.INFO: ProcessCDR(1,16560211,1,1,2) [2026-01-14 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16560211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 06:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16560211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 06:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16560211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 06:08:03] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16560211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 06:08:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560211', 'tblTempUsageDetail_20' ) start [2026-01-14 06:08:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560211', 'tblTempUsageDetail_20' ) end [2026-01-14 06:08:03] Production.ERROR: pbx prc_insertCDR start [2026-01-14 06:08:03] Production.ERROR: pbx prc_insertCDR end [2026-01-14 06:08:03] Production.INFO: ==30922== Releasing lock... [2026-01-14 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 06:08:03] Production.INFO: 28.75 MB #Memory Used# [2026-01-14 07:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 04:01:06 [end_date_ymd] => 2026-01-14 07:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 04:01:06' and `end` < '2026-01-14 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-14 07:01:18] Production.INFO: count ==104 [2026-01-14 07:01:18] Production.ERROR: pbx CDR StartTime 2026-01-14 04:01:06 - End Time 2026-01-14 07:01:06 [2026-01-14 07:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560458', 'tblTempUsageDetail_20' ) start [2026-01-14 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560458', 'tblTempUsageDetail_20' ) end [2026-01-14 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560458', 'tblTempVendorCDR_20' ) start [2026-01-14 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560458', 'tblTempVendorCDR_20' ) end [2026-01-14 07:01:18] Production.INFO: ProcessCDR(1,16560458,1,1,2) [2026-01-14 07:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16560458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 07:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16560458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 07:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16560458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 07:08:08] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16560458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 07:08:08] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560458', 'tblTempUsageDetail_20' ) start [2026-01-14 07:08:08] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560458', 'tblTempUsageDetail_20' ) end [2026-01-14 07:08:08] Production.ERROR: pbx prc_insertCDR start [2026-01-14 07:08:08] Production.ERROR: pbx prc_insertCDR end [2026-01-14 07:08:08] Production.INFO: ==3400== Releasing lock... [2026-01-14 07:08:08] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 07:08:08] Production.INFO: 28.75 MB #Memory Used# [2026-01-14 08:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 05:01:06 [end_date_ymd] => 2026-01-14 08:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 05:01:06' and `end` < '2026-01-14 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-14 08:01:18] Production.INFO: count ==205 [2026-01-14 08:01:18] Production.ERROR: pbx CDR StartTime 2026-01-14 05:01:06 - End Time 2026-01-14 08:01:06 [2026-01-14 08:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560705', 'tblTempUsageDetail_20' ) start [2026-01-14 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560705', 'tblTempUsageDetail_20' ) end [2026-01-14 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560705', 'tblTempVendorCDR_20' ) start [2026-01-14 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560705', 'tblTempVendorCDR_20' ) end [2026-01-14 08:01:18] Production.INFO: ProcessCDR(1,16560705,1,1,2) [2026-01-14 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16560705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 08:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16560705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 08:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16560705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 08:08:00] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16560705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 08:08:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560705', 'tblTempUsageDetail_20' ) start [2026-01-14 08:08:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560705', 'tblTempUsageDetail_20' ) end [2026-01-14 08:08:00] Production.ERROR: pbx prc_insertCDR start [2026-01-14 08:08:00] Production.ERROR: pbx prc_insertCDR end [2026-01-14 08:08:00] Production.INFO: ==8773== Releasing lock... [2026-01-14 08:08:00] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 08:08:00] Production.INFO: 29.75 MB #Memory Used# [2026-01-14 09:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 06:01:06 [end_date_ymd] => 2026-01-14 09:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 06:01:06' and `end` < '2026-01-14 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-14 09:01:18] Production.INFO: count ==764 [2026-01-14 09:01:18] Production.ERROR: pbx CDR StartTime 2026-01-14 06:01:06 - End Time 2026-01-14 09:01:06 [2026-01-14 09:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560952', 'tblTempUsageDetail_20' ) start [2026-01-14 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16560952', 'tblTempUsageDetail_20' ) end [2026-01-14 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560952', 'tblTempVendorCDR_20' ) start [2026-01-14 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16560952', 'tblTempVendorCDR_20' ) end [2026-01-14 09:01:18] Production.INFO: ProcessCDR(1,16560952,1,1,2) [2026-01-14 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16560952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 09:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16560952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 09:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16560952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 09:08:13] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16560952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 09:08:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560952', 'tblTempUsageDetail_20' ) start [2026-01-14 09:08:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16560952', 'tblTempUsageDetail_20' ) end [2026-01-14 09:08:13] Production.ERROR: pbx prc_insertCDR start [2026-01-14 09:08:13] Production.ERROR: pbx prc_insertCDR end [2026-01-14 09:08:13] Production.INFO: ==14410== Releasing lock... [2026-01-14 09:08:13] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 09:08:13] Production.INFO: 33.5 MB #Memory Used# [2026-01-14 10:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 07:01:06 [end_date_ymd] => 2026-01-14 10:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 07:01:06' and `end` < '2026-01-14 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-14 10:01:20] Production.INFO: count ==2134 [2026-01-14 10:01:21] Production.ERROR: pbx CDR StartTime 2026-01-14 07:01:06 - End Time 2026-01-14 10:01:06 [2026-01-14 10:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561199', 'tblTempUsageDetail_20' ) start [2026-01-14 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561199', 'tblTempUsageDetail_20' ) end [2026-01-14 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561199', 'tblTempVendorCDR_20' ) start [2026-01-14 10:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561199', 'tblTempVendorCDR_20' ) end [2026-01-14 10:01:21] Production.INFO: ProcessCDR(1,16561199,1,1,2) [2026-01-14 10:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16561199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 10:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16561199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 10:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16561199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 10:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16561199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 10:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561199', 'tblTempUsageDetail_20' ) start [2026-01-14 10:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561199', 'tblTempUsageDetail_20' ) end [2026-01-14 10:08:23] Production.ERROR: pbx prc_insertCDR start [2026-01-14 10:08:25] Production.ERROR: pbx prc_insertCDR end [2026-01-14 10:08:25] Production.INFO: ==19385== Releasing lock... [2026-01-14 10:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 10:08:25] Production.INFO: 44.25 MB #Memory Used# [2026-01-14 11:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 08:01:06 [end_date_ymd] => 2026-01-14 11:01:06 [RateCDR] => 1 ) [2026-01-14 11: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-14 08:01:06' and `end` < '2026-01-14 11: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-14 11:01:19] Production.INFO: count ==3843 [2026-01-14 11:01:21] Production.ERROR: pbx CDR StartTime 2026-01-14 08:01:06 - End Time 2026-01-14 11:01:06 [2026-01-14 11:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561446', 'tblTempUsageDetail_20' ) start [2026-01-14 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561446', 'tblTempUsageDetail_20' ) end [2026-01-14 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561446', 'tblTempVendorCDR_20' ) start [2026-01-14 11:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561446', 'tblTempVendorCDR_20' ) end [2026-01-14 11:01:21] Production.INFO: ProcessCDR(1,16561446,1,1,2) [2026-01-14 11:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16561446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 11:04:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16561446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 11:04:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16561446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 11:08:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16561446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 11:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561446', 'tblTempUsageDetail_20' ) start [2026-01-14 11:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561446', 'tblTempUsageDetail_20' ) end [2026-01-14 11:08:35] Production.ERROR: pbx prc_insertCDR start [2026-01-14 11:08:37] Production.ERROR: pbx prc_insertCDR end [2026-01-14 11:08:37] Production.INFO: ==24613== Releasing lock... [2026-01-14 11:08:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 11:08:37] Production.INFO: 57.25 MB #Memory Used# [2026-01-14 12:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 09:01:06 [end_date_ymd] => 2026-01-14 12:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 09:01:06' and `end` < '2026-01-14 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-14 12:01:22] Production.INFO: count ==5182 [2026-01-14 12:01:25] Production.ERROR: pbx CDR StartTime 2026-01-14 09:01:06 - End Time 2026-01-14 12:01:06 [2026-01-14 12:01:25] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561692', 'tblTempUsageDetail_20' ) start [2026-01-14 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561692', 'tblTempUsageDetail_20' ) end [2026-01-14 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561692', 'tblTempVendorCDR_20' ) start [2026-01-14 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561692', 'tblTempVendorCDR_20' ) end [2026-01-14 12:01:25] Production.INFO: ProcessCDR(1,16561692,1,1,2) [2026-01-14 12:01:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16561692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 12:05:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16561692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 12:05:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16561692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 12:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16561692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 12:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561692', 'tblTempUsageDetail_20' ) start [2026-01-14 12:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561692', 'tblTempUsageDetail_20' ) end [2026-01-14 12:09:25] Production.ERROR: pbx prc_insertCDR start [2026-01-14 12:09:28] Production.ERROR: pbx prc_insertCDR end [2026-01-14 12:09:28] Production.INFO: ==29421== Releasing lock... [2026-01-14 12:09:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 12:09:28] Production.INFO: 67 MB #Memory Used# [2026-01-14 13:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 10:01:06 [end_date_ymd] => 2026-01-14 13:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 10:01:06' and `end` < '2026-01-14 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-14 13:01:22] Production.INFO: count ==5713 [2026-01-14 13:01:24] Production.ERROR: pbx CDR StartTime 2026-01-14 10:01:06 - End Time 2026-01-14 13:01:06 [2026-01-14 13:01:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 13:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561940', 'tblTempUsageDetail_20' ) start [2026-01-14 13:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16561940', 'tblTempUsageDetail_20' ) end [2026-01-14 13:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561940', 'tblTempVendorCDR_20' ) start [2026-01-14 13:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16561940', 'tblTempVendorCDR_20' ) end [2026-01-14 13:01:25] Production.INFO: ProcessCDR(1,16561940,1,1,2) [2026-01-14 13:01:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16561940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 13:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16561940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 13:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16561940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 13:09:17] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16561940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 13:09:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561940', 'tblTempUsageDetail_20' ) start [2026-01-14 13:09:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16561940', 'tblTempUsageDetail_20' ) end [2026-01-14 13:09:18] Production.ERROR: pbx prc_insertCDR start [2026-01-14 13:09:21] Production.ERROR: pbx prc_insertCDR end [2026-01-14 13:09:21] Production.INFO: ==1831== Releasing lock... [2026-01-14 13:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 13:09:21] Production.INFO: 71 MB #Memory Used# [2026-01-14 14:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 11:01:06 [end_date_ymd] => 2026-01-14 14:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 11:01:06' and `end` < '2026-01-14 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-14 14:01:22] Production.INFO: count ==5980 [2026-01-14 14:01:25] Production.ERROR: pbx CDR StartTime 2026-01-14 11:01:06 - End Time 2026-01-14 14:01:06 [2026-01-14 14:01:25] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 14:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562187', 'tblTempUsageDetail_20' ) start [2026-01-14 14:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562187', 'tblTempUsageDetail_20' ) end [2026-01-14 14:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562187', 'tblTempVendorCDR_20' ) start [2026-01-14 14:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562187', 'tblTempVendorCDR_20' ) end [2026-01-14 14:01:26] Production.INFO: ProcessCDR(1,16562187,1,1,2) [2026-01-14 14:01:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16562187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 14:04:50] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16562187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 14:04:50] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16562187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 14:08:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16562187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 14:08:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562187', 'tblTempUsageDetail_20' ) start [2026-01-14 14:08:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562187', 'tblTempUsageDetail_20' ) end [2026-01-14 14:08:47] Production.ERROR: pbx prc_insertCDR start [2026-01-14 14:08:49] Production.ERROR: pbx prc_insertCDR end [2026-01-14 14:08:49] Production.INFO: ==6740== Releasing lock... [2026-01-14 14:08:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 14:08:49] Production.INFO: 73 MB #Memory Used# [2026-01-14 15:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 12:01:06 [end_date_ymd] => 2026-01-14 15:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 12:01:06' and `end` < '2026-01-14 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-14 15:01:20] Production.INFO: count ==6131 [2026-01-14 15:01:24] Production.ERROR: pbx CDR StartTime 2026-01-14 12:01:06 - End Time 2026-01-14 15:01:06 [2026-01-14 15:01:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 15:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562434', 'tblTempUsageDetail_20' ) start [2026-01-14 15:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562434', 'tblTempUsageDetail_20' ) end [2026-01-14 15:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562434', 'tblTempVendorCDR_20' ) start [2026-01-14 15:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562434', 'tblTempVendorCDR_20' ) end [2026-01-14 15:01:24] Production.INFO: ProcessCDR(1,16562434,1,1,2) [2026-01-14 15:01:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16562434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 15:05:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16562434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 15:05:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16562434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 15:09:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16562434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 15:09:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562434', 'tblTempUsageDetail_20' ) start [2026-01-14 15:09:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562434', 'tblTempUsageDetail_20' ) end [2026-01-14 15:09:34] Production.ERROR: pbx prc_insertCDR start [2026-01-14 15:09:37] Production.ERROR: pbx prc_insertCDR end [2026-01-14 15:09:37] Production.INFO: ==11812== Releasing lock... [2026-01-14 15:09:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 15:09:37] Production.INFO: 74.25 MB #Memory Used# [2026-01-14 16:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 13:01:06 [end_date_ymd] => 2026-01-14 16:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 13:01:06' and `end` < '2026-01-14 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-14 16:01:21] Production.INFO: count ==6360 [2026-01-14 16:01:24] Production.ERROR: pbx CDR StartTime 2026-01-14 13:01:06 - End Time 2026-01-14 16:01:06 [2026-01-14 16:01:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 16:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562681', 'tblTempUsageDetail_20' ) start [2026-01-14 16:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562681', 'tblTempUsageDetail_20' ) end [2026-01-14 16:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562681', 'tblTempVendorCDR_20' ) start [2026-01-14 16:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562681', 'tblTempVendorCDR_20' ) end [2026-01-14 16:01:25] Production.INFO: ProcessCDR(1,16562681,1,1,2) [2026-01-14 16:01:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16562681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 16:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16562681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 16:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16562681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 16:09:01] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16562681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 16:09:01] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562681', 'tblTempUsageDetail_20' ) start [2026-01-14 16:09:02] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562681', 'tblTempUsageDetail_20' ) end [2026-01-14 16:09:02] Production.ERROR: pbx prc_insertCDR start [2026-01-14 16:09:09] Production.ERROR: pbx prc_insertCDR end [2026-01-14 16:09:09] Production.INFO: ==17412== Releasing lock... [2026-01-14 16:09:09] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 16:09:09] Production.INFO: 76 MB #Memory Used# [2026-01-14 17:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 14:01:06 [end_date_ymd] => 2026-01-14 17:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 14:01:06' and `end` < '2026-01-14 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-14 17:01:20] Production.INFO: count ==6192 [2026-01-14 17:01:23] Production.ERROR: pbx CDR StartTime 2026-01-14 14:01:06 - End Time 2026-01-14 17:01:06 [2026-01-14 17:01:23] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562927', 'tblTempUsageDetail_20' ) start [2026-01-14 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16562927', 'tblTempUsageDetail_20' ) end [2026-01-14 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562927', 'tblTempVendorCDR_20' ) start [2026-01-14 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16562927', 'tblTempVendorCDR_20' ) end [2026-01-14 17:01:23] Production.INFO: ProcessCDR(1,16562927,1,1,2) [2026-01-14 17:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16562927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 17:05:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16562927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 17:05:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16562927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 17:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16562927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 17:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562927', 'tblTempUsageDetail_20' ) start [2026-01-14 17:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16562927', 'tblTempUsageDetail_20' ) end [2026-01-14 17:09:26] Production.ERROR: pbx prc_insertCDR start [2026-01-14 17:09:28] Production.ERROR: pbx prc_insertCDR end [2026-01-14 17:09:28] Production.INFO: ==23259== Releasing lock... [2026-01-14 17:09:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 17:09:28] Production.INFO: 74.75 MB #Memory Used# [2026-01-14 18:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 15:01:06 [end_date_ymd] => 2026-01-14 18:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 15:01:06' and `end` < '2026-01-14 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-14 18:01:20] Production.INFO: count ==5349 [2026-01-14 18:01:22] Production.ERROR: pbx CDR StartTime 2026-01-14 15:01:06 - End Time 2026-01-14 18:01:06 [2026-01-14 18:01:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 18:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563175', 'tblTempUsageDetail_20' ) start [2026-01-14 18:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563175', 'tblTempUsageDetail_20' ) end [2026-01-14 18:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563175', 'tblTempVendorCDR_20' ) start [2026-01-14 18:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563175', 'tblTempVendorCDR_20' ) end [2026-01-14 18:01:23] Production.INFO: ProcessCDR(1,16563175,1,1,2) [2026-01-14 18:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16563175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 18:04:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16563175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 18:04:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16563175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 18:08:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16563175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 18:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563175', 'tblTempUsageDetail_20' ) start [2026-01-14 18:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563175', 'tblTempUsageDetail_20' ) end [2026-01-14 18:08:30] Production.ERROR: pbx prc_insertCDR start [2026-01-14 18:08:32] Production.ERROR: pbx prc_insertCDR end [2026-01-14 18:08:32] Production.INFO: ==29172== Releasing lock... [2026-01-14 18:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 18:08:32] Production.INFO: 68.25 MB #Memory Used# [2026-01-14 19:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 16:01:06 [end_date_ymd] => 2026-01-14 19:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 16:01:06' and `end` < '2026-01-14 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-14 19:01:19] Production.INFO: count ==4112 [2026-01-14 19:01:21] Production.ERROR: pbx CDR StartTime 2026-01-14 16:01:06 - End Time 2026-01-14 19:01:06 [2026-01-14 19:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563421', 'tblTempUsageDetail_20' ) start [2026-01-14 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563421', 'tblTempUsageDetail_20' ) end [2026-01-14 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563421', 'tblTempVendorCDR_20' ) start [2026-01-14 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563421', 'tblTempVendorCDR_20' ) end [2026-01-14 19:01:21] Production.INFO: ProcessCDR(1,16563421,1,1,2) [2026-01-14 19:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16563421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 19:04:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16563421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 19:04:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16563421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 19:08:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16563421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 19:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563421', 'tblTempUsageDetail_20' ) start [2026-01-14 19:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563421', 'tblTempUsageDetail_20' ) end [2026-01-14 19:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-14 19:08:20] Production.ERROR: pbx prc_insertCDR end [2026-01-14 19:08:20] Production.INFO: ==3591== Releasing lock... [2026-01-14 19:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 19:08:20] Production.INFO: 59 MB #Memory Used# [2026-01-14 20:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 17:01:06 [end_date_ymd] => 2026-01-14 20:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 17:01:06' and `end` < '2026-01-14 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-14 20:01:19] Production.INFO: count ==2877 [2026-01-14 20:01:20] Production.ERROR: pbx CDR StartTime 2026-01-14 17:01:06 - End Time 2026-01-14 20:01:06 [2026-01-14 20:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563669', 'tblTempUsageDetail_20' ) start [2026-01-14 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563669', 'tblTempUsageDetail_20' ) end [2026-01-14 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563669', 'tblTempVendorCDR_20' ) start [2026-01-14 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563669', 'tblTempVendorCDR_20' ) end [2026-01-14 20:01:20] Production.INFO: ProcessCDR(1,16563669,1,1,2) [2026-01-14 20:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16563669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 20:04:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16563669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 20:04:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16563669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 20:08:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16563669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 20:08:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563669', 'tblTempUsageDetail_20' ) start [2026-01-14 20:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563669', 'tblTempUsageDetail_20' ) end [2026-01-14 20:08:35] Production.ERROR: pbx prc_insertCDR start [2026-01-14 20:08:35] Production.ERROR: pbx prc_insertCDR end [2026-01-14 20:08:35] Production.INFO: ==8555== Releasing lock... [2026-01-14 20:08:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 20:08:35] Production.INFO: 50 MB #Memory Used# [2026-01-14 21:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 18:01:06 [end_date_ymd] => 2026-01-14 21:01:06 [RateCDR] => 1 ) [2026-01-14 21: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-14 18:01:06' and `end` < '2026-01-14 21: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-14 21:01:18] Production.INFO: count ==2025 [2026-01-14 21:01:19] Production.ERROR: pbx CDR StartTime 2026-01-14 18:01:06 - End Time 2026-01-14 21:01:06 [2026-01-14 21:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563916', 'tblTempUsageDetail_20' ) start [2026-01-14 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16563916', 'tblTempUsageDetail_20' ) end [2026-01-14 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563916', 'tblTempVendorCDR_20' ) start [2026-01-14 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16563916', 'tblTempVendorCDR_20' ) end [2026-01-14 21:01:19] Production.INFO: ProcessCDR(1,16563916,1,1,2) [2026-01-14 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16563916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 21:04:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16563916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 21:04:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16563916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 21:08:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16563916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 21:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563916', 'tblTempUsageDetail_20' ) start [2026-01-14 21:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16563916', 'tblTempUsageDetail_20' ) end [2026-01-14 21:08:28] Production.ERROR: pbx prc_insertCDR start [2026-01-14 21:08:29] Production.ERROR: pbx prc_insertCDR end [2026-01-14 21:08:29] Production.INFO: ==13695== Releasing lock... [2026-01-14 21:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 21:08:29] Production.INFO: 43.25 MB #Memory Used# [2026-01-14 22:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 19:01:06 [end_date_ymd] => 2026-01-14 22:01:06 [RateCDR] => 1 ) [2026-01-14 22: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-14 19:01:06' and `end` < '2026-01-14 22: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-14 22:01:19] Production.INFO: count ==1441 [2026-01-14 22:01:19] Production.ERROR: pbx CDR StartTime 2026-01-14 19:01:06 - End Time 2026-01-14 22:01:06 [2026-01-14 22:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16564163', 'tblTempUsageDetail_20' ) start [2026-01-14 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16564163', 'tblTempUsageDetail_20' ) end [2026-01-14 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16564163', 'tblTempVendorCDR_20' ) start [2026-01-14 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16564163', 'tblTempVendorCDR_20' ) end [2026-01-14 22:01:19] Production.INFO: ProcessCDR(1,16564163,1,1,2) [2026-01-14 22:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16564163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 22:04:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16564163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 22:04:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16564163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 22:08:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16564163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 22:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16564163', 'tblTempUsageDetail_20' ) start [2026-01-14 22:08:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16564163', 'tblTempUsageDetail_20' ) end [2026-01-14 22:08:36] Production.ERROR: pbx prc_insertCDR start [2026-01-14 22:08:36] Production.ERROR: pbx prc_insertCDR end [2026-01-14 22:08:36] Production.INFO: ==19062== Releasing lock... [2026-01-14 22:08:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 22:08:36] Production.INFO: 39 MB #Memory Used# [2026-01-14 23:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-14 20:01:06 [end_date_ymd] => 2026-01-14 23:01:06 [RateCDR] => 1 ) [2026-01-14 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-14 20:01:06' and `end` < '2026-01-14 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-14 23:01:18] Production.INFO: count ==1076 [2026-01-14 23:01:19] Production.ERROR: pbx CDR StartTime 2026-01-14 20:01:06 - End Time 2026-01-14 23:01:06 [2026-01-14 23:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-14 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16564410', 'tblTempUsageDetail_20' ) start [2026-01-14 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16564410', 'tblTempUsageDetail_20' ) end [2026-01-14 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16564410', 'tblTempVendorCDR_20' ) start [2026-01-14 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16564410', 'tblTempVendorCDR_20' ) end [2026-01-14 23:01:19] Production.INFO: ProcessCDR(1,16564410,1,1,2) [2026-01-14 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16564410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 23:04:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16564410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-14 23:04:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16564410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 23:08:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16564410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-14 23:08:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16564410', 'tblTempUsageDetail_20' ) start [2026-01-14 23:08:48] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16564410', 'tblTempUsageDetail_20' ) end [2026-01-14 23:08:48] Production.ERROR: pbx prc_insertCDR start [2026-01-14 23:08:48] Production.ERROR: pbx prc_insertCDR end [2026-01-14 23:08:48] Production.INFO: ==25192== Releasing lock... [2026-01-14 23:08:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-14 23:08:48] Production.INFO: 36.5 MB #Memory Used#