[2026-01-17 00:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-16 21:01:06 [end_date_ymd] => 2026-01-17 00:01:06 [RateCDR] => 1 ) [2026-01-17 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-16 21:01:06' and `end` < '2026-01-17 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-17 00:01:24] Production.INFO: count ==1328 [2026-01-17 00:01:24] Production.ERROR: pbx CDR StartTime 2026-01-16 21:01:06 - End Time 2026-01-17 00:01:06 [2026-01-17 00:01:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 00:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16576514', 'tblTempUsageDetail_20' ) start [2026-01-17 00:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16576514', 'tblTempUsageDetail_20' ) end [2026-01-17 00:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16576514', 'tblTempVendorCDR_20' ) start [2026-01-17 00:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16576514', 'tblTempVendorCDR_20' ) end [2026-01-17 00:01:24] Production.INFO: ProcessCDR(1,16576514,1,1,2) [2026-01-17 00:01:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16576514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 00:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16576514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 00:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16576514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 00:08:16] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16576514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 00:08:16] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16576514', 'tblTempUsageDetail_20' ) start [2026-01-17 00:08:16] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16576514', 'tblTempUsageDetail_20' ) end [2026-01-17 00:08:16] Production.ERROR: pbx prc_insertCDR start [2026-01-17 00:08:16] Production.ERROR: pbx prc_insertCDR end [2026-01-17 00:08:31] Production.INFO: ==4428== Releasing lock... [2026-01-17 00:08:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 00:08:31] Production.INFO: 40.75 MB #Memory Used# [2026-01-17 01:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-16 22:01:05 [end_date_ymd] => 2026-01-17 01:01:05 [RateCDR] => 1 ) [2026-01-17 01: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-16 22:01:05' and `end` < '2026-01-17 01: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-17 01:01:36] Production.INFO: count ==768 [2026-01-17 01:01:36] Production.ERROR: pbx CDR StartTime 2026-01-16 22:01:05 - End Time 2026-01-17 01:01:05 [2026-01-17 01:01:36] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 01:01:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16576761', 'tblTempUsageDetail_20' ) start [2026-01-17 01:01:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16576761', 'tblTempUsageDetail_20' ) end [2026-01-17 01:01:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16576761', 'tblTempVendorCDR_20' ) start [2026-01-17 01:01:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16576761', 'tblTempVendorCDR_20' ) end [2026-01-17 01:01:36] Production.INFO: ProcessCDR(1,16576761,1,1,2) [2026-01-17 01:01:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16576761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 01:04:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16576761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 01:04:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16576761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 01:08:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16576761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 01:08:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16576761', 'tblTempUsageDetail_20' ) start [2026-01-17 01:08:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16576761', 'tblTempUsageDetail_20' ) end [2026-01-17 01:08:36] Production.ERROR: pbx prc_insertCDR start [2026-01-17 01:08:36] Production.ERROR: pbx prc_insertCDR end [2026-01-17 01:08:36] Production.INFO: ==9626== Releasing lock... [2026-01-17 01:08:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 01:08:36] Production.INFO: 34.5 MB #Memory Used# [2026-01-17 02:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-16 23:01:06 [end_date_ymd] => 2026-01-17 02:01:06 [RateCDR] => 1 ) [2026-01-17 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-16 23:01:06' and `end` < '2026-01-17 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-17 02:01:19] Production.INFO: count ==721 [2026-01-17 02:01:19] Production.ERROR: pbx CDR StartTime 2026-01-16 23:01:06 - End Time 2026-01-17 02:01:06 [2026-01-17 02:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577007', 'tblTempUsageDetail_20' ) start [2026-01-17 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577007', 'tblTempUsageDetail_20' ) end [2026-01-17 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577007', 'tblTempVendorCDR_20' ) start [2026-01-17 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577007', 'tblTempVendorCDR_20' ) end [2026-01-17 02:01:19] Production.INFO: ProcessCDR(1,16577007,1,1,2) [2026-01-17 02:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16577007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 02:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16577007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 02:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16577007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 02:08:05] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16577007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 02:08:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577007', 'tblTempUsageDetail_20' ) start [2026-01-17 02:08:07] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577007', 'tblTempUsageDetail_20' ) end [2026-01-17 02:08:07] Production.ERROR: pbx prc_insertCDR start [2026-01-17 02:08:07] Production.ERROR: pbx prc_insertCDR end [2026-01-17 02:08:08] Production.INFO: ==14045== Releasing lock... [2026-01-17 02:08:08] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 02:08:08] Production.INFO: 33.5 MB #Memory Used# [2026-01-17 03:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 00:01:06 [end_date_ymd] => 2026-01-17 03:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 00:01:06' and `end` < '2026-01-17 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-17 03:01:19] Production.INFO: count ==813 [2026-01-17 03:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 00:01:06 - End Time 2026-01-17 03:01:06 [2026-01-17 03:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577254', 'tblTempUsageDetail_20' ) start [2026-01-17 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577254', 'tblTempUsageDetail_20' ) end [2026-01-17 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577254', 'tblTempVendorCDR_20' ) start [2026-01-17 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577254', 'tblTempVendorCDR_20' ) end [2026-01-17 03:01:19] Production.INFO: ProcessCDR(1,16577254,1,1,2) [2026-01-17 03:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16577254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 03:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16577254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 03:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16577254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 03:08:17] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16577254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 03:08:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577254', 'tblTempUsageDetail_20' ) start [2026-01-17 03:08:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577254', 'tblTempUsageDetail_20' ) end [2026-01-17 03:08:18] Production.ERROR: pbx prc_insertCDR start [2026-01-17 03:08:18] Production.ERROR: pbx prc_insertCDR end [2026-01-17 03:08:18] Production.INFO: ==18782== Releasing lock... [2026-01-17 03:08:18] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 03:08:18] Production.INFO: 33.75 MB #Memory Used# [2026-01-17 04:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 01:01:06 [end_date_ymd] => 2026-01-17 04:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 01:01:06' and `end` < '2026-01-17 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-17 04:01:18] Production.INFO: count ==697 [2026-01-17 04:01:18] Production.ERROR: pbx CDR StartTime 2026-01-17 01:01:06 - End Time 2026-01-17 04:01:06 [2026-01-17 04:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577503', 'tblTempUsageDetail_20' ) start [2026-01-17 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577503', 'tblTempUsageDetail_20' ) end [2026-01-17 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577503', 'tblTempVendorCDR_20' ) start [2026-01-17 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577503', 'tblTempVendorCDR_20' ) end [2026-01-17 04:01:18] Production.INFO: ProcessCDR(1,16577503,1,1,2) [2026-01-17 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16577503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 04:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16577503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 04:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16577503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 04:08:03] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16577503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 04:08:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577503', 'tblTempUsageDetail_20' ) start [2026-01-17 04:08:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577503', 'tblTempUsageDetail_20' ) end [2026-01-17 04:08:03] Production.ERROR: pbx prc_insertCDR start [2026-01-17 04:08:03] Production.ERROR: pbx prc_insertCDR end [2026-01-17 04:08:03] Production.INFO: ==23297== Releasing lock... [2026-01-17 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 04:08:03] Production.INFO: 33.75 MB #Memory Used# [2026-01-17 05:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 02:01:06 [end_date_ymd] => 2026-01-17 05:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 02:01:06' and `end` < '2026-01-17 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-17 05:01:19] Production.INFO: count ==488 [2026-01-17 05:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 02:01:06 - End Time 2026-01-17 05:01:06 [2026-01-17 05:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577751', 'tblTempUsageDetail_20' ) start [2026-01-17 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577751', 'tblTempUsageDetail_20' ) end [2026-01-17 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577751', 'tblTempVendorCDR_20' ) start [2026-01-17 05:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577751', 'tblTempVendorCDR_20' ) end [2026-01-17 05:01:19] Production.INFO: ProcessCDR(1,16577751,1,1,2) [2026-01-17 05:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16577751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 05:04:48] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16577751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 05:04:48] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16577751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 05:08:48] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16577751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 05:08:48] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577751', 'tblTempUsageDetail_20' ) start [2026-01-17 05:08:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577751', 'tblTempUsageDetail_20' ) end [2026-01-17 05:08:49] Production.ERROR: pbx prc_insertCDR start [2026-01-17 05:08:49] Production.ERROR: pbx prc_insertCDR end [2026-01-17 05:08:49] Production.INFO: ==27646== Releasing lock... [2026-01-17 05:08:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 05:08:49] Production.INFO: 32.25 MB #Memory Used# [2026-01-17 06:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 03:01:06 [end_date_ymd] => 2026-01-17 06:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 03:01:06' and `end` < '2026-01-17 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-17 06:01:18] Production.INFO: count ==235 [2026-01-17 06:01:18] Production.ERROR: pbx CDR StartTime 2026-01-17 03:01:06 - End Time 2026-01-17 06:01:06 [2026-01-17 06:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577998', 'tblTempUsageDetail_20' ) start [2026-01-17 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16577998', 'tblTempUsageDetail_20' ) end [2026-01-17 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577998', 'tblTempVendorCDR_20' ) start [2026-01-17 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16577998', 'tblTempVendorCDR_20' ) end [2026-01-17 06:01:18] Production.INFO: ProcessCDR(1,16577998,1,1,2) [2026-01-17 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16577998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 06:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16577998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 06:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16577998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16577998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577998', 'tblTempUsageDetail_20' ) start [2026-01-17 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16577998', 'tblTempUsageDetail_20' ) end [2026-01-17 06:08:21] Production.ERROR: pbx prc_insertCDR start [2026-01-17 06:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-17 06:08:21] Production.INFO: ==836== Releasing lock... [2026-01-17 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 06:08:21] Production.INFO: 30.5 MB #Memory Used# [2026-01-17 07:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 04:01:07 [end_date_ymd] => 2026-01-17 07:01:07 [RateCDR] => 1 ) [2026-01-17 07: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-17 04:01:07' and `end` < '2026-01-17 07: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-17 07:01:19] Production.INFO: count ==121 [2026-01-17 07:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 04:01:07 - End Time 2026-01-17 07:01:07 [2026-01-17 07:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578245', 'tblTempUsageDetail_20' ) start [2026-01-17 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578245', 'tblTempUsageDetail_20' ) end [2026-01-17 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578245', 'tblTempVendorCDR_20' ) start [2026-01-17 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578245', 'tblTempVendorCDR_20' ) end [2026-01-17 07:01:19] Production.INFO: ProcessCDR(1,16578245,1,1,2) [2026-01-17 07:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16578245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 07:03:47] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16578245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 07:03:47] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16578245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 07:07:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16578245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 07:07:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578245', 'tblTempUsageDetail_20' ) start [2026-01-17 07:07:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578245', 'tblTempUsageDetail_20' ) end [2026-01-17 07:07:37] Production.ERROR: pbx prc_insertCDR start [2026-01-17 07:07:37] Production.ERROR: pbx prc_insertCDR end [2026-01-17 07:07:37] Production.INFO: ==7597== Releasing lock... [2026-01-17 07:07:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 07:07:37] Production.INFO: 29 MB #Memory Used# [2026-01-17 08:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 05:01:06 [end_date_ymd] => 2026-01-17 08:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 05:01:06' and `end` < '2026-01-17 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-17 08:01:18] Production.INFO: count ==102 [2026-01-17 08:01:18] Production.ERROR: pbx CDR StartTime 2026-01-17 05:01:06 - End Time 2026-01-17 08:01:06 [2026-01-17 08:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578492', 'tblTempUsageDetail_20' ) start [2026-01-17 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578492', 'tblTempUsageDetail_20' ) end [2026-01-17 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578492', 'tblTempVendorCDR_20' ) start [2026-01-17 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578492', 'tblTempVendorCDR_20' ) end [2026-01-17 08:01:18] Production.INFO: ProcessCDR(1,16578492,1,1,2) [2026-01-17 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16578492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 08:04:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16578492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 08:04:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16578492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 08:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16578492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 08:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578492', 'tblTempUsageDetail_20' ) start [2026-01-17 08:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578492', 'tblTempUsageDetail_20' ) end [2026-01-17 08:08:25] Production.ERROR: pbx prc_insertCDR start [2026-01-17 08:08:25] Production.ERROR: pbx prc_insertCDR end [2026-01-17 08:08:25] Production.INFO: ==12881== Releasing lock... [2026-01-17 08:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 08:08:25] Production.INFO: 28.75 MB #Memory Used# [2026-01-17 09:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 06:01:06 [end_date_ymd] => 2026-01-17 09:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 06:01:06' and `end` < '2026-01-17 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-17 09:01:18] Production.INFO: count ==271 [2026-01-17 09:01:18] Production.ERROR: pbx CDR StartTime 2026-01-17 06:01:06 - End Time 2026-01-17 09:01:06 [2026-01-17 09:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578739', 'tblTempUsageDetail_20' ) start [2026-01-17 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578739', 'tblTempUsageDetail_20' ) end [2026-01-17 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578739', 'tblTempVendorCDR_20' ) start [2026-01-17 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578739', 'tblTempVendorCDR_20' ) end [2026-01-17 09:01:18] Production.INFO: ProcessCDR(1,16578739,1,1,2) [2026-01-17 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16578739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 09:04:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16578739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 09:04:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16578739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 09:08:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16578739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 09:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578739', 'tblTempUsageDetail_20' ) start [2026-01-17 09:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578739', 'tblTempUsageDetail_20' ) end [2026-01-17 09:08:20] Production.ERROR: pbx prc_insertCDR start [2026-01-17 09:08:20] Production.ERROR: pbx prc_insertCDR end [2026-01-17 09:08:20] Production.INFO: ==17109== Releasing lock... [2026-01-17 09:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 09:08:20] Production.INFO: 30.75 MB #Memory Used# [2026-01-17 10:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 07:01:06 [end_date_ymd] => 2026-01-17 10:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 07:01:06' and `end` < '2026-01-17 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-17 10:01:19] Production.INFO: count ==751 [2026-01-17 10:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 07:01:06 - End Time 2026-01-17 10:01:06 [2026-01-17 10:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578986', 'tblTempUsageDetail_20' ) start [2026-01-17 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16578986', 'tblTempUsageDetail_20' ) end [2026-01-17 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578986', 'tblTempVendorCDR_20' ) start [2026-01-17 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16578986', 'tblTempVendorCDR_20' ) end [2026-01-17 10:01:19] Production.INFO: ProcessCDR(1,16578986,1,1,2) [2026-01-17 10:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16578986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 10:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16578986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 10:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16578986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 10:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16578986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 10:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578986', 'tblTempUsageDetail_20' ) start [2026-01-17 10:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16578986', 'tblTempUsageDetail_20' ) end [2026-01-17 10:08:22] Production.ERROR: pbx prc_insertCDR start [2026-01-17 10:08:22] Production.ERROR: pbx prc_insertCDR end [2026-01-17 10:08:22] Production.INFO: ==22557== Releasing lock... [2026-01-17 10:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 10:08:22] Production.INFO: 34.25 MB #Memory Used# [2026-01-17 11:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 08:01:06 [end_date_ymd] => 2026-01-17 11:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 08:01:06' and `end` < '2026-01-17 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-17 11:01:19] Production.INFO: count ==1276 [2026-01-17 11:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 08:01:06 - End Time 2026-01-17 11:01:06 [2026-01-17 11:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579233', 'tblTempUsageDetail_20' ) start [2026-01-17 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579233', 'tblTempUsageDetail_20' ) end [2026-01-17 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579233', 'tblTempVendorCDR_20' ) start [2026-01-17 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579233', 'tblTempVendorCDR_20' ) end [2026-01-17 11:01:19] Production.INFO: ProcessCDR(1,16579233,1,1,2) [2026-01-17 11:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16579233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 11:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16579233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 11:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16579233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 11:08:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16579233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 11:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579233', 'tblTempUsageDetail_20' ) start [2026-01-17 11:08:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579233', 'tblTempUsageDetail_20' ) end [2026-01-17 11:08:15] Production.ERROR: pbx prc_insertCDR start [2026-01-17 11:08:16] Production.ERROR: pbx prc_insertCDR end [2026-01-17 11:08:17] Production.INFO: ==27932== Releasing lock... [2026-01-17 11:08:17] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 11:08:17] Production.INFO: 38 MB #Memory Used# [2026-01-17 12:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 09:01:06 [end_date_ymd] => 2026-01-17 12:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 09:01:06' and `end` < '2026-01-17 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-17 12:01:18] Production.INFO: count ==1742 [2026-01-17 12:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 09:01:06 - End Time 2026-01-17 12:01:06 [2026-01-17 12:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579480', 'tblTempUsageDetail_20' ) start [2026-01-17 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579480', 'tblTempUsageDetail_20' ) end [2026-01-17 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579480', 'tblTempVendorCDR_20' ) start [2026-01-17 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579480', 'tblTempVendorCDR_20' ) end [2026-01-17 12:01:19] Production.INFO: ProcessCDR(1,16579480,1,1,2) [2026-01-17 12:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16579480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 12:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16579480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 12:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16579480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 12:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16579480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579480', 'tblTempUsageDetail_20' ) start [2026-01-17 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579480', 'tblTempUsageDetail_20' ) end [2026-01-17 12:08:23] Production.ERROR: pbx prc_insertCDR start [2026-01-17 12:08:24] Production.ERROR: pbx prc_insertCDR end [2026-01-17 12:08:24] Production.INFO: ==591== Releasing lock... [2026-01-17 12:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 12:08:24] Production.INFO: 41.25 MB #Memory Used# [2026-01-17 13:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 10:01:06 [end_date_ymd] => 2026-01-17 13:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 10:01:06' and `end` < '2026-01-17 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-17 13:01:19] Production.INFO: count ==1939 [2026-01-17 13:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 10:01:06 - End Time 2026-01-17 13:01:06 [2026-01-17 13:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579727', 'tblTempUsageDetail_20' ) start [2026-01-17 13:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579727', 'tblTempUsageDetail_20' ) end [2026-01-17 13:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579727', 'tblTempVendorCDR_20' ) start [2026-01-17 13:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579727', 'tblTempVendorCDR_20' ) end [2026-01-17 13:01:20] Production.INFO: ProcessCDR(1,16579727,1,1,2) [2026-01-17 13:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16579727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 13:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16579727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 13:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16579727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 13:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16579727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 13:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579727', 'tblTempUsageDetail_20' ) start [2026-01-17 13:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579727', 'tblTempUsageDetail_20' ) end [2026-01-17 13:08:28] Production.ERROR: pbx prc_insertCDR start [2026-01-17 13:08:28] Production.ERROR: pbx prc_insertCDR end [2026-01-17 13:08:28] Production.INFO: ==5534== Releasing lock... [2026-01-17 13:08:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 13:08:28] Production.INFO: 42.75 MB #Memory Used# [2026-01-17 14:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 11:01:06 [end_date_ymd] => 2026-01-17 14:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 11:01:06' and `end` < '2026-01-17 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-17 14:01:18] Production.INFO: count ==1919 [2026-01-17 14:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 11:01:06 - End Time 2026-01-17 14:01:06 [2026-01-17 14:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579973', 'tblTempUsageDetail_20' ) start [2026-01-17 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16579973', 'tblTempUsageDetail_20' ) end [2026-01-17 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579973', 'tblTempVendorCDR_20' ) start [2026-01-17 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16579973', 'tblTempVendorCDR_20' ) end [2026-01-17 14:01:19] Production.INFO: ProcessCDR(1,16579973,1,1,2) [2026-01-17 14:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16579973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 14:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16579973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 14:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16579973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 14:08:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16579973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 14:08:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579973', 'tblTempUsageDetail_20' ) start [2026-01-17 14:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16579973', 'tblTempUsageDetail_20' ) end [2026-01-17 14:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-17 14:08:20] Production.ERROR: pbx prc_insertCDR end [2026-01-17 14:08:20] Production.INFO: ==10265== Releasing lock... [2026-01-17 14:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 14:08:20] Production.INFO: 42.5 MB #Memory Used# [2026-01-17 15:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 12:01:06 [end_date_ymd] => 2026-01-17 15:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 12:01:06' and `end` < '2026-01-17 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-17 15:01:18] Production.INFO: count ==1931 [2026-01-17 15:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 12:01:06 - End Time 2026-01-17 15:01:06 [2026-01-17 15:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580221', 'tblTempUsageDetail_20' ) start [2026-01-17 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580221', 'tblTempUsageDetail_20' ) end [2026-01-17 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580221', 'tblTempVendorCDR_20' ) start [2026-01-17 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580221', 'tblTempVendorCDR_20' ) end [2026-01-17 15:01:19] Production.INFO: ProcessCDR(1,16580221,1,1,2) [2026-01-17 15:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16580221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 15:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16580221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 15:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16580221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 15:08:17] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16580221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 15:08:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580221', 'tblTempUsageDetail_20' ) start [2026-01-17 15:08:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580221', 'tblTempUsageDetail_20' ) end [2026-01-17 15:08:18] Production.ERROR: pbx prc_insertCDR start [2026-01-17 15:08:19] Production.ERROR: pbx prc_insertCDR end [2026-01-17 15:08:19] Production.INFO: ==15568== Releasing lock... [2026-01-17 15:08:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 15:08:19] Production.INFO: 42.75 MB #Memory Used# [2026-01-17 16:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 13:01:06 [end_date_ymd] => 2026-01-17 16:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 13:01:06' and `end` < '2026-01-17 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-17 16:01:18] Production.INFO: count ==1903 [2026-01-17 16:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 13:01:06 - End Time 2026-01-17 16:01:06 [2026-01-17 16:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580468', 'tblTempUsageDetail_20' ) start [2026-01-17 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580468', 'tblTempUsageDetail_20' ) end [2026-01-17 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580468', 'tblTempVendorCDR_20' ) start [2026-01-17 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580468', 'tblTempVendorCDR_20' ) end [2026-01-17 16:01:19] Production.INFO: ProcessCDR(1,16580468,1,1,2) [2026-01-17 16:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16580468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 16:04:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16580468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 16:04:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16580468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 16:08:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16580468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 16:08:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580468', 'tblTempUsageDetail_20' ) start [2026-01-17 16:08:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580468', 'tblTempUsageDetail_20' ) end [2026-01-17 16:08:37] Production.ERROR: pbx prc_insertCDR start [2026-01-17 16:08:38] Production.ERROR: pbx prc_insertCDR end [2026-01-17 16:08:38] Production.INFO: ==20687== Releasing lock... [2026-01-17 16:08:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 16:08:38] Production.INFO: 42.5 MB #Memory Used# [2026-01-17 17:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 14:01:06 [end_date_ymd] => 2026-01-17 17:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 14:01:06' and `end` < '2026-01-17 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-17 17:01:19] Production.INFO: count ==2371 [2026-01-17 17:01:20] Production.ERROR: pbx CDR StartTime 2026-01-17 14:01:06 - End Time 2026-01-17 17:01:06 [2026-01-17 17:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580714', 'tblTempUsageDetail_20' ) start [2026-01-17 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580714', 'tblTempUsageDetail_20' ) end [2026-01-17 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580714', 'tblTempVendorCDR_20' ) start [2026-01-17 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580714', 'tblTempVendorCDR_20' ) end [2026-01-17 17:01:20] Production.INFO: ProcessCDR(1,16580714,1,1,2) [2026-01-17 17:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16580714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 17:04:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16580714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 17:04:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16580714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 17:08:55] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16580714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 17:08:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580714', 'tblTempUsageDetail_20' ) start [2026-01-17 17:08:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580714', 'tblTempUsageDetail_20' ) end [2026-01-17 17:08:55] Production.ERROR: pbx prc_insertCDR start [2026-01-17 17:08:57] Production.ERROR: pbx prc_insertCDR end [2026-01-17 17:08:57] Production.INFO: ==28153== Releasing lock... [2026-01-17 17:08:57] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 17:08:57] Production.INFO: 46.25 MB #Memory Used# [2026-01-17 18:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 15:01:06 [end_date_ymd] => 2026-01-17 18:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 15:01:06' and `end` < '2026-01-17 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-17 18:01:20] Production.INFO: count ==2556 [2026-01-17 18:01:21] Production.ERROR: pbx CDR StartTime 2026-01-17 15:01:06 - End Time 2026-01-17 18:01:06 [2026-01-17 18:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580961', 'tblTempUsageDetail_20' ) start [2026-01-17 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16580961', 'tblTempUsageDetail_20' ) end [2026-01-17 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580961', 'tblTempVendorCDR_20' ) start [2026-01-17 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16580961', 'tblTempVendorCDR_20' ) end [2026-01-17 18:01:21] Production.INFO: ProcessCDR(1,16580961,1,1,2) [2026-01-17 18:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16580961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 18:04:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16580961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 18:04:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16580961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 18:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16580961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 18:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580961', 'tblTempUsageDetail_20' ) start [2026-01-17 18:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16580961', 'tblTempUsageDetail_20' ) end [2026-01-17 18:08:23] Production.ERROR: pbx prc_insertCDR start [2026-01-17 18:08:25] Production.ERROR: pbx prc_insertCDR end [2026-01-17 18:08:25] Production.INFO: ==32634== Releasing lock... [2026-01-17 18:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 18:08:25] Production.INFO: 47.75 MB #Memory Used# [2026-01-17 19:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 16:01:06 [end_date_ymd] => 2026-01-17 19:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 16:01:06' and `end` < '2026-01-17 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-17 19:01:19] Production.INFO: count ==2692 [2026-01-17 19:01:20] Production.ERROR: pbx CDR StartTime 2026-01-17 16:01:06 - End Time 2026-01-17 19:01:06 [2026-01-17 19:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581208', 'tblTempUsageDetail_20' ) start [2026-01-17 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581208', 'tblTempUsageDetail_20' ) end [2026-01-17 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581208', 'tblTempVendorCDR_20' ) start [2026-01-17 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581208', 'tblTempVendorCDR_20' ) end [2026-01-17 19:01:20] Production.INFO: ProcessCDR(1,16581208,1,1,2) [2026-01-17 19:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16581208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 19:04:47] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16581208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 19:04:47] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16581208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 19:08:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16581208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 19:08:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581208', 'tblTempUsageDetail_20' ) start [2026-01-17 19:08:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581208', 'tblTempUsageDetail_20' ) end [2026-01-17 19:08:49] Production.ERROR: pbx prc_insertCDR start [2026-01-17 19:08:51] Production.ERROR: pbx prc_insertCDR end [2026-01-17 19:08:51] Production.INFO: ==5797== Releasing lock... [2026-01-17 19:08:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 19:08:51] Production.INFO: 49 MB #Memory Used# [2026-01-17 20:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 17:01:06 [end_date_ymd] => 2026-01-17 20:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 17:01:06' and `end` < '2026-01-17 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-17 20:01:18] Production.INFO: count ==2391 [2026-01-17 20:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 17:01:06 - End Time 2026-01-17 20:01:06 [2026-01-17 20:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581454', 'tblTempUsageDetail_20' ) start [2026-01-17 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581454', 'tblTempUsageDetail_20' ) end [2026-01-17 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581454', 'tblTempVendorCDR_20' ) start [2026-01-17 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581454', 'tblTempVendorCDR_20' ) end [2026-01-17 20:01:19] Production.INFO: ProcessCDR(1,16581454,1,1,2) [2026-01-17 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16581454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 20:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16581454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 20:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16581454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 20:08:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16581454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 20:08:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581454', 'tblTempUsageDetail_20' ) start [2026-01-17 20:08:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581454', 'tblTempUsageDetail_20' ) end [2026-01-17 20:08:42] Production.ERROR: pbx prc_insertCDR start [2026-01-17 20:08:43] Production.ERROR: pbx prc_insertCDR end [2026-01-17 20:08:43] Production.INFO: ==11332== Releasing lock... [2026-01-17 20:08:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 20:08:43] Production.INFO: 46.25 MB #Memory Used# [2026-01-17 21:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 18:01:07 [end_date_ymd] => 2026-01-17 21:01:07 [RateCDR] => 1 ) [2026-01-17 21:01:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-17 18:01:07' and `end` < '2026-01-17 21:01:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-17 21:01:19] Production.INFO: count ==2067 [2026-01-17 21:01:20] Production.ERROR: pbx CDR StartTime 2026-01-17 18:01:07 - End Time 2026-01-17 21:01:07 [2026-01-17 21:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581702', 'tblTempUsageDetail_20' ) start [2026-01-17 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581702', 'tblTempUsageDetail_20' ) end [2026-01-17 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581702', 'tblTempVendorCDR_20' ) start [2026-01-17 21:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581702', 'tblTempVendorCDR_20' ) end [2026-01-17 21:01:20] Production.INFO: ProcessCDR(1,16581702,1,1,2) [2026-01-17 21:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16581702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 21:04:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16581702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 21:04:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16581702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 21:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16581702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 21:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581702', 'tblTempUsageDetail_20' ) start [2026-01-17 21:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581702', 'tblTempUsageDetail_20' ) end [2026-01-17 21:08:26] Production.ERROR: pbx prc_insertCDR start [2026-01-17 21:08:26] Production.ERROR: pbx prc_insertCDR end [2026-01-17 21:08:26] Production.INFO: ==15838== Releasing lock... [2026-01-17 21:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 21:08:26] Production.INFO: 44 MB #Memory Used# [2026-01-17 22:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 19:01:06 [end_date_ymd] => 2026-01-17 22:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 19:01:06' and `end` < '2026-01-17 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-17 22:01:18] Production.INFO: count ==1798 [2026-01-17 22:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 19:01:06 - End Time 2026-01-17 22:01:06 [2026-01-17 22:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581948', 'tblTempUsageDetail_20' ) start [2026-01-17 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16581948', 'tblTempUsageDetail_20' ) end [2026-01-17 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581948', 'tblTempVendorCDR_20' ) start [2026-01-17 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16581948', 'tblTempVendorCDR_20' ) end [2026-01-17 22:01:19] Production.INFO: ProcessCDR(1,16581948,1,1,2) [2026-01-17 22:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16581948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 22:04:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16581948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 22:04:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16581948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 22:08:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16581948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 22:08:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581948', 'tblTempUsageDetail_20' ) start [2026-01-17 22:08:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16581948', 'tblTempUsageDetail_20' ) end [2026-01-17 22:08:33] Production.ERROR: pbx prc_insertCDR start [2026-01-17 22:08:33] Production.ERROR: pbx prc_insertCDR end [2026-01-17 22:08:34] Production.INFO: ==20350== Releasing lock... [2026-01-17 22:08:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 22:08:34] Production.INFO: 42 MB #Memory Used# [2026-01-17 23:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 20:01:06 [end_date_ymd] => 2026-01-17 23:01:06 [RateCDR] => 1 ) [2026-01-17 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-17 20:01:06' and `end` < '2026-01-17 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-17 23:01:18] Production.INFO: count ==1460 [2026-01-17 23:01:19] Production.ERROR: pbx CDR StartTime 2026-01-17 20:01:06 - End Time 2026-01-17 23:01:06 [2026-01-17 23:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-17 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582195', 'tblTempUsageDetail_20' ) start [2026-01-17 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582195', 'tblTempUsageDetail_20' ) end [2026-01-17 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582195', 'tblTempVendorCDR_20' ) start [2026-01-17 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582195', 'tblTempVendorCDR_20' ) end [2026-01-17 23:01:19] Production.INFO: ProcessCDR(1,16582195,1,1,2) [2026-01-17 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16582195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 23:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16582195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-17 23:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16582195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 23:08:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16582195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-17 23:08:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582195', 'tblTempUsageDetail_20' ) start [2026-01-17 23:08:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582195', 'tblTempUsageDetail_20' ) end [2026-01-17 23:08:34] Production.ERROR: pbx prc_insertCDR start [2026-01-17 23:08:35] Production.ERROR: pbx prc_insertCDR end [2026-01-17 23:08:35] Production.INFO: ==25782== Releasing lock... [2026-01-17 23:08:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-17 23:08:35] Production.INFO: 39 MB #Memory Used#