[2026-01-13 00:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-12 21:01:05 [end_date_ymd] => 2026-01-13 00:01:05 [RateCDR] => 1 ) [2026-01-13 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-12 21:01:05' and `end` < '2026-01-13 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-13 00:01:20] Production.INFO: count ==710 [2026-01-13 00:01:20] Production.ERROR: pbx CDR StartTime 2026-01-12 21:01:05 - End Time 2026-01-13 00:01:05 [2026-01-13 00:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16552796', 'tblTempUsageDetail_20' ) start [2026-01-13 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16552796', 'tblTempUsageDetail_20' ) end [2026-01-13 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16552796', 'tblTempVendorCDR_20' ) start [2026-01-13 00:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16552796', 'tblTempVendorCDR_20' ) end [2026-01-13 00:01:20] Production.INFO: ProcessCDR(1,16552796,1,1,2) [2026-01-13 00:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16552796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 00:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16552796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 00:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16552796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 00:08:09] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16552796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 00:08:09] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16552796', 'tblTempUsageDetail_20' ) start [2026-01-13 00:08:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16552796', 'tblTempUsageDetail_20' ) end [2026-01-13 00:08:10] Production.ERROR: pbx prc_insertCDR start [2026-01-13 00:08:10] Production.ERROR: pbx prc_insertCDR end [2026-01-13 00:08:12] Production.INFO: ==21118== Releasing lock... [2026-01-13 00:08:12] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 00:08:12] Production.INFO: 37 MB #Memory Used# [2026-01-13 01:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-12 22:01:06 [end_date_ymd] => 2026-01-13 01:01:06 [RateCDR] => 1 ) [2026-01-13 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-12 22:01:06' and `end` < '2026-01-13 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-13 01:01:35] Production.INFO: count ==521 [2026-01-13 01:01:35] Production.ERROR: pbx CDR StartTime 2026-01-12 22:01:06 - End Time 2026-01-13 01:01:06 [2026-01-13 01:01:35] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 01:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553044', 'tblTempUsageDetail_20' ) start [2026-01-13 01:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553044', 'tblTempUsageDetail_20' ) end [2026-01-13 01:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553044', 'tblTempVendorCDR_20' ) start [2026-01-13 01:01:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553044', 'tblTempVendorCDR_20' ) end [2026-01-13 01:01:35] Production.INFO: ProcessCDR(1,16553044,1,1,2) [2026-01-13 01:01:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16553044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 01:04:48] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16553044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 01:04:48] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16553044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 01:08:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16553044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 01:08:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553044', 'tblTempUsageDetail_20' ) start [2026-01-13 01:08:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553044', 'tblTempUsageDetail_20' ) end [2026-01-13 01:08:43] Production.ERROR: pbx prc_insertCDR start [2026-01-13 01:08:44] Production.ERROR: pbx prc_insertCDR end [2026-01-13 01:08:44] Production.INFO: ==25902== Releasing lock... [2026-01-13 01:08:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 01:08:44] Production.INFO: 32.75 MB #Memory Used# [2026-01-13 02:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-12 23:01:06 [end_date_ymd] => 2026-01-13 02:01:06 [RateCDR] => 1 ) [2026-01-13 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-12 23:01:06' and `end` < '2026-01-13 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-13 02:01:18] Production.INFO: count ==548 [2026-01-13 02:01:18] Production.ERROR: pbx CDR StartTime 2026-01-12 23:01:06 - End Time 2026-01-13 02:01:06 [2026-01-13 02:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553291', 'tblTempUsageDetail_20' ) start [2026-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553291', 'tblTempUsageDetail_20' ) end [2026-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553291', 'tblTempVendorCDR_20' ) start [2026-01-13 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553291', 'tblTempVendorCDR_20' ) end [2026-01-13 02:01:18] Production.INFO: ProcessCDR(1,16553291,1,1,2) [2026-01-13 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16553291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 02:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16553291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 02:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16553291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 02:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16553291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 02:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553291', 'tblTempUsageDetail_20' ) start [2026-01-13 02:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553291', 'tblTempUsageDetail_20' ) end [2026-01-13 02:08:24] Production.ERROR: pbx prc_insertCDR start [2026-01-13 02:08:24] Production.ERROR: pbx prc_insertCDR end [2026-01-13 02:08:24] Production.INFO: ==30617== Releasing lock... [2026-01-13 02:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 02:08:24] Production.INFO: 32.5 MB #Memory Used# [2026-01-13 03:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 00:01:06 [end_date_ymd] => 2026-01-13 03:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 00:01:06' and `end` < '2026-01-13 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-13 03:01:18] Production.INFO: count ==468 [2026-01-13 03:01:18] Production.ERROR: pbx CDR StartTime 2026-01-13 00:01:06 - End Time 2026-01-13 03:01:06 [2026-01-13 03:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553537', 'tblTempUsageDetail_20' ) start [2026-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553537', 'tblTempUsageDetail_20' ) end [2026-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553537', 'tblTempVendorCDR_20' ) start [2026-01-13 03:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553537', 'tblTempVendorCDR_20' ) end [2026-01-13 03:01:18] Production.INFO: ProcessCDR(1,16553537,1,1,2) [2026-01-13 03:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16553537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 03:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16553537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 03:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16553537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 03:08:09] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16553537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 03:08:09] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553537', 'tblTempUsageDetail_20' ) start [2026-01-13 03:08:09] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553537', 'tblTempUsageDetail_20' ) end [2026-01-13 03:08:09] Production.ERROR: pbx prc_insertCDR start [2026-01-13 03:08:09] Production.ERROR: pbx prc_insertCDR end [2026-01-13 03:08:09] Production.INFO: ==2919== Releasing lock... [2026-01-13 03:08:09] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 03:08:09] Production.INFO: 32.25 MB #Memory Used# [2026-01-13 04:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 01:01:05 [end_date_ymd] => 2026-01-13 04:01:05 [RateCDR] => 1 ) [2026-01-13 04: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-13 01:01:05' and `end` < '2026-01-13 04: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-13 04:01:17] Production.INFO: count ==305 [2026-01-13 04:01:17] Production.ERROR: pbx CDR StartTime 2026-01-13 01:01:05 - End Time 2026-01-13 04:01:05 [2026-01-13 04:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553786', 'tblTempUsageDetail_20' ) start [2026-01-13 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16553786', 'tblTempUsageDetail_20' ) end [2026-01-13 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553786', 'tblTempVendorCDR_20' ) start [2026-01-13 04:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16553786', 'tblTempVendorCDR_20' ) end [2026-01-13 04:01:17] Production.INFO: ProcessCDR(1,16553786,1,1,2) [2026-01-13 04:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16553786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 04:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16553786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 04:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16553786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 04:08:13] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16553786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 04:08:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553786', 'tblTempUsageDetail_20' ) start [2026-01-13 04:08:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16553786', 'tblTempUsageDetail_20' ) end [2026-01-13 04:08:13] Production.ERROR: pbx prc_insertCDR start [2026-01-13 04:08:13] Production.ERROR: pbx prc_insertCDR end [2026-01-13 04:08:13] Production.INFO: ==7604== Releasing lock... [2026-01-13 04:08:13] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 04:08:13] Production.INFO: 31 MB #Memory Used# [2026-01-13 05:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 02:01:06 [end_date_ymd] => 2026-01-13 05:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 02:01:06' and `end` < '2026-01-13 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-13 05:01:20] Production.INFO: count ==170 [2026-01-13 05:01:20] Production.ERROR: pbx CDR StartTime 2026-01-13 02:01:06 - End Time 2026-01-13 05:01:06 [2026-01-13 05:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554034', 'tblTempUsageDetail_20' ) start [2026-01-13 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554034', 'tblTempUsageDetail_20' ) end [2026-01-13 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554034', 'tblTempVendorCDR_20' ) start [2026-01-13 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554034', 'tblTempVendorCDR_20' ) end [2026-01-13 05:01:20] Production.INFO: ProcessCDR(1,16554034,1,1,2) [2026-01-13 05:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16554034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 05:04:45] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16554034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 05:04:45] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16554034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 05:08:51] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16554034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 05:08:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554034', 'tblTempUsageDetail_20' ) start [2026-01-13 05:08:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554034', 'tblTempUsageDetail_20' ) end [2026-01-13 05:08:51] Production.ERROR: pbx prc_insertCDR start [2026-01-13 05:08:51] Production.ERROR: pbx prc_insertCDR end [2026-01-13 05:08:51] Production.INFO: ==13196== Releasing lock... [2026-01-13 05:08:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 05:08:51] Production.INFO: 29.5 MB #Memory Used# [2026-01-13 06:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 03:01:05 [end_date_ymd] => 2026-01-13 06:01:05 [RateCDR] => 1 ) [2026-01-13 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-13 03:01:05' and `end` < '2026-01-13 06: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-13 06:01:18] Production.INFO: count ==135 [2026-01-13 06:01:18] Production.ERROR: pbx CDR StartTime 2026-01-13 03:01:05 - End Time 2026-01-13 06:01:05 [2026-01-13 06:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554281', 'tblTempUsageDetail_20' ) start [2026-01-13 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554281', 'tblTempUsageDetail_20' ) end [2026-01-13 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554281', 'tblTempVendorCDR_20' ) start [2026-01-13 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554281', 'tblTempVendorCDR_20' ) end [2026-01-13 06:01:18] Production.INFO: ProcessCDR(1,16554281,1,1,2) [2026-01-13 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16554281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 06:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16554281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 06:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16554281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 06:08:17] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16554281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 06:08:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554281', 'tblTempUsageDetail_20' ) start [2026-01-13 06:08:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554281', 'tblTempUsageDetail_20' ) end [2026-01-13 06:08:17] Production.ERROR: pbx prc_insertCDR start [2026-01-13 06:08:17] Production.ERROR: pbx prc_insertCDR end [2026-01-13 06:08:18] Production.INFO: ==17905== Releasing lock... [2026-01-13 06:08:18] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 06:08:18] Production.INFO: 29.25 MB #Memory Used# [2026-01-13 07:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 04:01:05 [end_date_ymd] => 2026-01-13 07:01:05 [RateCDR] => 1 ) [2026-01-13 07: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-13 04:01:05' and `end` < '2026-01-13 07: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-13 07:01:17] Production.INFO: count ==111 [2026-01-13 07:01:18] Production.ERROR: pbx CDR StartTime 2026-01-13 04:01:05 - End Time 2026-01-13 07:01:05 [2026-01-13 07:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554527', 'tblTempUsageDetail_20' ) start [2026-01-13 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554527', 'tblTempUsageDetail_20' ) end [2026-01-13 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554527', 'tblTempVendorCDR_20' ) start [2026-01-13 07:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554527', 'tblTempVendorCDR_20' ) end [2026-01-13 07:01:18] Production.INFO: ProcessCDR(1,16554527,1,1,2) [2026-01-13 07:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16554527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 07:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16554527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 07:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16554527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 07:08:07] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16554527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 07:08:07] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554527', 'tblTempUsageDetail_20' ) start [2026-01-13 07:08:07] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554527', 'tblTempUsageDetail_20' ) end [2026-01-13 07:08:07] Production.ERROR: pbx prc_insertCDR start [2026-01-13 07:08:07] Production.ERROR: pbx prc_insertCDR end [2026-01-13 07:08:07] Production.INFO: ==22891== Releasing lock... [2026-01-13 07:08:07] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 07:08:07] Production.INFO: 28.75 MB #Memory Used# [2026-01-13 08:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 05:01:06 [end_date_ymd] => 2026-01-13 08:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 05:01:06' and `end` < '2026-01-13 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-13 08:01:18] Production.INFO: count ==180 [2026-01-13 08:01:18] Production.ERROR: pbx CDR StartTime 2026-01-13 05:01:06 - End Time 2026-01-13 08:01:06 [2026-01-13 08:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554775', 'tblTempUsageDetail_20' ) start [2026-01-13 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16554775', 'tblTempUsageDetail_20' ) end [2026-01-13 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554775', 'tblTempVendorCDR_20' ) start [2026-01-13 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16554775', 'tblTempVendorCDR_20' ) end [2026-01-13 08:01:18] Production.INFO: ProcessCDR(1,16554775,1,1,2) [2026-01-13 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16554775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 08:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16554775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 08:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16554775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 08:08:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16554775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 08:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554775', 'tblTempUsageDetail_20' ) start [2026-01-13 08:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16554775', 'tblTempUsageDetail_20' ) end [2026-01-13 08:08:14] Production.ERROR: pbx prc_insertCDR start [2026-01-13 08:08:14] Production.ERROR: pbx prc_insertCDR end [2026-01-13 08:08:15] Production.INFO: ==28194== Releasing lock... [2026-01-13 08:08:15] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 08:08:15] Production.INFO: 29.5 MB #Memory Used# [2026-01-13 09:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 06:01:06 [end_date_ymd] => 2026-01-13 09:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 06:01:06' and `end` < '2026-01-13 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-13 09:01:18] Production.INFO: count ==807 [2026-01-13 09:01:18] Production.ERROR: pbx CDR StartTime 2026-01-13 06:01:06 - End Time 2026-01-13 09:01:06 [2026-01-13 09:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555021', 'tblTempUsageDetail_20' ) start [2026-01-13 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555021', 'tblTempUsageDetail_20' ) end [2026-01-13 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555021', 'tblTempVendorCDR_20' ) start [2026-01-13 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555021', 'tblTempVendorCDR_20' ) end [2026-01-13 09:01:18] Production.INFO: ProcessCDR(1,16555021,1,1,2) [2026-01-13 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16555021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 09:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16555021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 09:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16555021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 09:08:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16555021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 09:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555021', 'tblTempUsageDetail_20' ) start [2026-01-13 09:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555021', 'tblTempUsageDetail_20' ) end [2026-01-13 09:08:14] Production.ERROR: pbx prc_insertCDR start [2026-01-13 09:08:15] Production.ERROR: pbx prc_insertCDR end [2026-01-13 09:08:15] Production.INFO: ==706== Releasing lock... [2026-01-13 09:08:15] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 09:08:15] Production.INFO: 34 MB #Memory Used# [2026-01-13 10:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 07:01:06 [end_date_ymd] => 2026-01-13 10:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 07:01:06' and `end` < '2026-01-13 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-13 10:01:23] Production.INFO: count ==2453 [2026-01-13 10:01:24] Production.ERROR: pbx CDR StartTime 2026-01-13 07:01:06 - End Time 2026-01-13 10:01:06 [2026-01-13 10:01:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 10:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555269', 'tblTempUsageDetail_20' ) start [2026-01-13 10:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555269', 'tblTempUsageDetail_20' ) end [2026-01-13 10:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555269', 'tblTempVendorCDR_20' ) start [2026-01-13 10:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555269', 'tblTempVendorCDR_20' ) end [2026-01-13 10:01:24] Production.INFO: ProcessCDR(1,16555269,1,1,2) [2026-01-13 10:01:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16555269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 10:05:08] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16555269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 10:05:08] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16555269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 10:08:50] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16555269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 10:08:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555269', 'tblTempUsageDetail_20' ) start [2026-01-13 10:08:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555269', 'tblTempUsageDetail_20' ) end [2026-01-13 10:08:50] Production.ERROR: pbx prc_insertCDR start [2026-01-13 10:08:52] Production.ERROR: pbx prc_insertCDR end [2026-01-13 10:08:52] Production.INFO: ==5978== Releasing lock... [2026-01-13 10:08:52] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 10:08:52] Production.INFO: 47 MB #Memory Used# [2026-01-13 11:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 08:01:05 [end_date_ymd] => 2026-01-13 11:01:05 [RateCDR] => 1 ) [2026-01-13 11: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-13 08:01:05' and `end` < '2026-01-13 11: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-13 11:01:20] Production.INFO: count ==4298 [2026-01-13 11:01:22] Production.ERROR: pbx CDR StartTime 2026-01-13 08:01:05 - End Time 2026-01-13 11:01:05 [2026-01-13 11:01:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 11:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555516', 'tblTempUsageDetail_20' ) start [2026-01-13 11:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555516', 'tblTempUsageDetail_20' ) end [2026-01-13 11:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555516', 'tblTempVendorCDR_20' ) start [2026-01-13 11:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555516', 'tblTempVendorCDR_20' ) end [2026-01-13 11:01:23] Production.INFO: ProcessCDR(1,16555516,1,1,2) [2026-01-13 11:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16555516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 11:05:13] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16555516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 11:05:13] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16555516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 11:09:11] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16555516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 11:09:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555516', 'tblTempUsageDetail_20' ) start [2026-01-13 11:09:12] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555516', 'tblTempUsageDetail_20' ) end [2026-01-13 11:09:12] Production.ERROR: pbx prc_insertCDR start [2026-01-13 11:09:16] Production.ERROR: pbx prc_insertCDR end [2026-01-13 11:09:16] Production.INFO: ==11304== Releasing lock... [2026-01-13 11:09:16] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 11:09:16] Production.INFO: 60.25 MB #Memory Used# [2026-01-13 12:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 09:01:06 [end_date_ymd] => 2026-01-13 12:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 09:01:06' and `end` < '2026-01-13 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-13 12:01:27] Production.INFO: count ==5386 [2026-01-13 12:01:29] Production.ERROR: pbx CDR StartTime 2026-01-13 09:01:06 - End Time 2026-01-13 12:01:06 [2026-01-13 12:01:29] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 12:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555762', 'tblTempUsageDetail_20' ) start [2026-01-13 12:01:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16555762', 'tblTempUsageDetail_20' ) end [2026-01-13 12:01:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555762', 'tblTempVendorCDR_20' ) start [2026-01-13 12:01:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16555762', 'tblTempVendorCDR_20' ) end [2026-01-13 12:01:30] Production.INFO: ProcessCDR(1,16555762,1,1,2) [2026-01-13 12:01:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16555762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 12:04:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16555762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 12:04:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16555762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 12:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16555762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 12:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555762', 'tblTempUsageDetail_20' ) start [2026-01-13 12:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16555762', 'tblTempUsageDetail_20' ) end [2026-01-13 12:08:22] Production.ERROR: pbx prc_insertCDR start [2026-01-13 12:08:25] Production.ERROR: pbx prc_insertCDR end [2026-01-13 12:08:25] Production.INFO: ==17705== Releasing lock... [2026-01-13 12:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 12:08:25] Production.INFO: 68.5 MB #Memory Used# [2026-01-13 13:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 10:01:06 [end_date_ymd] => 2026-01-13 13:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 10:01:06' and `end` < '2026-01-13 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-13 13:01:21] Production.INFO: count ==5519 [2026-01-13 13:01:24] Production.ERROR: pbx CDR StartTime 2026-01-13 10:01:06 - End Time 2026-01-13 13:01:06 [2026-01-13 13:01:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 13:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556010', 'tblTempUsageDetail_20' ) start [2026-01-13 13:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556010', 'tblTempUsageDetail_20' ) end [2026-01-13 13:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556010', 'tblTempVendorCDR_20' ) start [2026-01-13 13:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556010', 'tblTempVendorCDR_20' ) end [2026-01-13 13:01:24] Production.INFO: ProcessCDR(1,16556010,1,1,2) [2026-01-13 13:01:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16556010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 13:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16556010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 13:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16556010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 13:08:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16556010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 13:08:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556010', 'tblTempUsageDetail_20' ) start [2026-01-13 13:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556010', 'tblTempUsageDetail_20' ) end [2026-01-13 13:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-13 13:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-13 13:08:21] Production.INFO: ==22546== Releasing lock... [2026-01-13 13:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 13:08:21] Production.INFO: 69.5 MB #Memory Used# [2026-01-13 14:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 11:01:05 [end_date_ymd] => 2026-01-13 14:01:05 [RateCDR] => 1 ) [2026-01-13 14: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-13 11:01:05' and `end` < '2026-01-13 14: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-13 14:01:21] Production.INFO: count ==5602 [2026-01-13 14:01:23] Production.ERROR: pbx CDR StartTime 2026-01-13 11:01:05 - End Time 2026-01-13 14:01:05 [2026-01-13 14:01:23] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 14:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556257', 'tblTempUsageDetail_20' ) start [2026-01-13 14:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556257', 'tblTempUsageDetail_20' ) end [2026-01-13 14:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556257', 'tblTempVendorCDR_20' ) start [2026-01-13 14:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556257', 'tblTempVendorCDR_20' ) end [2026-01-13 14:01:24] Production.INFO: ProcessCDR(1,16556257,1,1,2) [2026-01-13 14:01:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16556257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 14:04:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16556257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 14:04:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16556257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 14:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16556257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 14:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556257', 'tblTempUsageDetail_20' ) start [2026-01-13 14:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556257', 'tblTempUsageDetail_20' ) end [2026-01-13 14:08:24] Production.ERROR: pbx prc_insertCDR start [2026-01-13 14:08:26] Production.ERROR: pbx prc_insertCDR end [2026-01-13 14:08:26] Production.INFO: ==27602== Releasing lock... [2026-01-13 14:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 14:08:26] Production.INFO: 70.25 MB #Memory Used# [2026-01-13 15:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 12:01:06 [end_date_ymd] => 2026-01-13 15:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 12:01:06' and `end` < '2026-01-13 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-13 15:01:21] Production.INFO: count ==5732 [2026-01-13 15:01:23] Production.ERROR: pbx CDR StartTime 2026-01-13 12:01:06 - End Time 2026-01-13 15:01:06 [2026-01-13 15:01:23] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 15:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556504', 'tblTempUsageDetail_20' ) start [2026-01-13 15:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556504', 'tblTempUsageDetail_20' ) end [2026-01-13 15:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556504', 'tblTempVendorCDR_20' ) start [2026-01-13 15:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556504', 'tblTempVendorCDR_20' ) end [2026-01-13 15:01:24] Production.INFO: ProcessCDR(1,16556504,1,1,2) [2026-01-13 15:01:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16556504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 15:05:00] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16556504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 15:05:00] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16556504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 15:08:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16556504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 15:08:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556504', 'tblTempUsageDetail_20' ) start [2026-01-13 15:08:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556504', 'tblTempUsageDetail_20' ) end [2026-01-13 15:08:49] Production.ERROR: pbx prc_insertCDR start [2026-01-13 15:08:52] Production.ERROR: pbx prc_insertCDR end [2026-01-13 15:08:52] Production.INFO: ==1697== Releasing lock... [2026-01-13 15:08:52] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 15:08:52] Production.INFO: 71.5 MB #Memory Used# [2026-01-13 16:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 13:01:06 [end_date_ymd] => 2026-01-13 16:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 13:01:06' and `end` < '2026-01-13 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-13 16:01:23] Production.INFO: count ==5851 [2026-01-13 16:01:26] Production.ERROR: pbx CDR StartTime 2026-01-13 13:01:06 - End Time 2026-01-13 16:01:06 [2026-01-13 16:01:26] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 16:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556751', 'tblTempUsageDetail_20' ) start [2026-01-13 16:01:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556751', 'tblTempUsageDetail_20' ) end [2026-01-13 16:01:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556751', 'tblTempVendorCDR_20' ) start [2026-01-13 16:01:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556751', 'tblTempVendorCDR_20' ) end [2026-01-13 16:01:27] Production.INFO: ProcessCDR(1,16556751,1,1,2) [2026-01-13 16:01:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16556751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 16:05:14] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16556751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 16:05:14] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16556751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 16:08:53] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16556751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 16:08:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556751', 'tblTempUsageDetail_20' ) start [2026-01-13 16:08:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556751', 'tblTempUsageDetail_20' ) end [2026-01-13 16:08:53] Production.ERROR: pbx prc_insertCDR start [2026-01-13 16:08:56] Production.ERROR: pbx prc_insertCDR end [2026-01-13 16:08:56] Production.INFO: ==7846== Releasing lock... [2026-01-13 16:08:56] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 16:08:56] Production.INFO: 72 MB #Memory Used# [2026-01-13 17:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 14:01:06 [end_date_ymd] => 2026-01-13 17:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 14:01:06' and `end` < '2026-01-13 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-13 17:01:20] Production.INFO: count ==5764 [2026-01-13 17:01:23] Production.ERROR: pbx CDR StartTime 2026-01-13 14:01:06 - End Time 2026-01-13 17:01:06 [2026-01-13 17:01:23] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556998', 'tblTempUsageDetail_20' ) start [2026-01-13 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16556998', 'tblTempUsageDetail_20' ) end [2026-01-13 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556998', 'tblTempVendorCDR_20' ) start [2026-01-13 17:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16556998', 'tblTempVendorCDR_20' ) end [2026-01-13 17:01:23] Production.INFO: ProcessCDR(1,16556998,1,1,2) [2026-01-13 17:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16556998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 17:05:14] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16556998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 17:05:14] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16556998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 17:09:00] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16556998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 17:09:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556998', 'tblTempUsageDetail_20' ) start [2026-01-13 17:09:01] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16556998', 'tblTempUsageDetail_20' ) end [2026-01-13 17:09:01] Production.ERROR: pbx prc_insertCDR start [2026-01-13 17:09:10] Production.ERROR: pbx prc_insertCDR end [2026-01-13 17:09:10] Production.INFO: ==13752== Releasing lock... [2026-01-13 17:09:10] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 17:09:10] Production.INFO: 71.5 MB #Memory Used# [2026-01-13 18:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 15:01:06 [end_date_ymd] => 2026-01-13 18:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 15:01:06' and `end` < '2026-01-13 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-13 18:01:19] Production.INFO: count ==5026 [2026-01-13 18:01:21] Production.ERROR: pbx CDR StartTime 2026-01-13 15:01:06 - End Time 2026-01-13 18:01:06 [2026-01-13 18:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557245', 'tblTempUsageDetail_20' ) start [2026-01-13 18:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557245', 'tblTempUsageDetail_20' ) end [2026-01-13 18:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557245', 'tblTempVendorCDR_20' ) start [2026-01-13 18:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557245', 'tblTempVendorCDR_20' ) end [2026-01-13 18:01:22] Production.INFO: ProcessCDR(1,16557245,1,1,2) [2026-01-13 18:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16557245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 18:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16557245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 18:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16557245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 18:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16557245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 18:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557245', 'tblTempUsageDetail_20' ) start [2026-01-13 18:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557245', 'tblTempUsageDetail_20' ) end [2026-01-13 18:08:20] Production.ERROR: pbx prc_insertCDR start [2026-01-13 18:08:22] Production.ERROR: pbx prc_insertCDR end [2026-01-13 18:08:22] Production.INFO: ==18440== Releasing lock... [2026-01-13 18:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 18:08:22] Production.INFO: 65.75 MB #Memory Used# [2026-01-13 19:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 16:01:06 [end_date_ymd] => 2026-01-13 19:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 16:01:06' and `end` < '2026-01-13 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-13 19:01:18] Production.INFO: count ==3713 [2026-01-13 19:01:20] Production.ERROR: pbx CDR StartTime 2026-01-13 16:01:06 - End Time 2026-01-13 19:01:06 [2026-01-13 19:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557492', 'tblTempUsageDetail_20' ) start [2026-01-13 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557492', 'tblTempUsageDetail_20' ) end [2026-01-13 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557492', 'tblTempVendorCDR_20' ) start [2026-01-13 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557492', 'tblTempVendorCDR_20' ) end [2026-01-13 19:01:20] Production.INFO: ProcessCDR(1,16557492,1,1,2) [2026-01-13 19:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16557492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 19:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16557492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 19:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16557492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 19:08:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16557492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 19:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557492', 'tblTempUsageDetail_20' ) start [2026-01-13 19:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557492', 'tblTempUsageDetail_20' ) end [2026-01-13 19:08:20] Production.ERROR: pbx prc_insertCDR start [2026-01-13 19:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-13 19:08:21] Production.INFO: ==24449== Releasing lock... [2026-01-13 19:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 19:08:21] Production.INFO: 56 MB #Memory Used# [2026-01-13 20:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 17:01:05 [end_date_ymd] => 2026-01-13 20:01:05 [RateCDR] => 1 ) [2026-01-13 20: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-13 17:01:05' and `end` < '2026-01-13 20: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-13 20:01:18] Production.INFO: count ==2398 [2026-01-13 20:01:19] Production.ERROR: pbx CDR StartTime 2026-01-13 17:01:05 - End Time 2026-01-13 20:01:05 [2026-01-13 20:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557739', 'tblTempUsageDetail_20' ) start [2026-01-13 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557739', 'tblTempUsageDetail_20' ) end [2026-01-13 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557739', 'tblTempVendorCDR_20' ) start [2026-01-13 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557739', 'tblTempVendorCDR_20' ) end [2026-01-13 20:01:19] Production.INFO: ProcessCDR(1,16557739,1,1,2) [2026-01-13 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16557739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 20:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16557739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 20:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16557739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 20:08:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16557739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 20:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557739', 'tblTempUsageDetail_20' ) start [2026-01-13 20:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557739', 'tblTempUsageDetail_20' ) end [2026-01-13 20:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-13 20:08:20] Production.ERROR: pbx prc_insertCDR end [2026-01-13 20:08:20] Production.INFO: ==29571== Releasing lock... [2026-01-13 20:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 20:08:20] Production.INFO: 46.25 MB #Memory Used# [2026-01-13 21:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 18:01:05 [end_date_ymd] => 2026-01-13 21:01:05 [RateCDR] => 1 ) [2026-01-13 21: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-13 18:01:05' and `end` < '2026-01-13 21: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-13 21:01:18] Production.INFO: count ==1643 [2026-01-13 21:01:19] Production.ERROR: pbx CDR StartTime 2026-01-13 18:01:05 - End Time 2026-01-13 21:01:05 [2026-01-13 21:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557986', 'tblTempUsageDetail_20' ) start [2026-01-13 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16557986', 'tblTempUsageDetail_20' ) end [2026-01-13 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557986', 'tblTempVendorCDR_20' ) start [2026-01-13 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16557986', 'tblTempVendorCDR_20' ) end [2026-01-13 21:01:19] Production.INFO: ProcessCDR(1,16557986,1,1,2) [2026-01-13 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16557986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 21:04:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16557986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 21:04:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16557986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 21:08:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16557986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 21:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557986', 'tblTempUsageDetail_20' ) start [2026-01-13 21:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16557986', 'tblTempUsageDetail_20' ) end [2026-01-13 21:08:35] Production.ERROR: pbx prc_insertCDR start [2026-01-13 21:08:35] Production.ERROR: pbx prc_insertCDR end [2026-01-13 21:08:35] Production.INFO: ==1931== Releasing lock... [2026-01-13 21:08:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 21:08:35] Production.INFO: 40.5 MB #Memory Used# [2026-01-13 22:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 19:01:07 [end_date_ymd] => 2026-01-13 22:01:07 [RateCDR] => 1 ) [2026-01-13 22: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-13 19:01:07' and `end` < '2026-01-13 22: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-13 22:01:19] Production.INFO: count ==1260 [2026-01-13 22:01:19] Production.ERROR: pbx CDR StartTime 2026-01-13 19:01:07 - End Time 2026-01-13 22:01:07 [2026-01-13 22:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558232', 'tblTempUsageDetail_20' ) start [2026-01-13 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558232', 'tblTempUsageDetail_20' ) end [2026-01-13 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558232', 'tblTempVendorCDR_20' ) start [2026-01-13 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558232', 'tblTempVendorCDR_20' ) end [2026-01-13 22:01:19] Production.INFO: ProcessCDR(1,16558232,1,1,2) [2026-01-13 22:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16558232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 22:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16558232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 22:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16558232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 22:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16558232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 22:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558232', 'tblTempUsageDetail_20' ) start [2026-01-13 22:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558232', 'tblTempUsageDetail_20' ) end [2026-01-13 22:08:22] Production.ERROR: pbx prc_insertCDR start [2026-01-13 22:08:22] Production.ERROR: pbx prc_insertCDR end [2026-01-13 22:08:22] Production.INFO: ==8251== Releasing lock... [2026-01-13 22:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 22:08:22] Production.INFO: 37.75 MB #Memory Used# [2026-01-13 23:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-13 20:01:06 [end_date_ymd] => 2026-01-13 23:01:06 [RateCDR] => 1 ) [2026-01-13 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-13 20:01:06' and `end` < '2026-01-13 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-13 23:01:18] Production.INFO: count ==928 [2026-01-13 23:01:18] Production.ERROR: pbx CDR StartTime 2026-01-13 20:01:06 - End Time 2026-01-13 23:01:06 [2026-01-13 23:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-13 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558480', 'tblTempUsageDetail_20' ) start [2026-01-13 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16558480', 'tblTempUsageDetail_20' ) end [2026-01-13 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558480', 'tblTempVendorCDR_20' ) start [2026-01-13 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16558480', 'tblTempVendorCDR_20' ) end [2026-01-13 23:01:18] Production.INFO: ProcessCDR(1,16558480,1,1,2) [2026-01-13 23:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16558480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 23:04:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16558480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-13 23:04:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16558480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 23:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16558480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-13 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558480', 'tblTempUsageDetail_20' ) start [2026-01-13 23:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16558480', 'tblTempUsageDetail_20' ) end [2026-01-13 23:08:23] Production.ERROR: pbx prc_insertCDR start [2026-01-13 23:08:23] Production.ERROR: pbx prc_insertCDR end [2026-01-13 23:08:23] Production.INFO: ==15072== Releasing lock... [2026-01-13 23:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-13 23:08:23] Production.INFO: 35.25 MB #Memory Used#