[2026-01-01 00:00:05] Production.INFO: next invoice date [2026-01-01 00:00:05] Production.INFO: 2026-02-01 [2026-01-01 00:00:05] Production.INFO: getdaysdiff [2026-01-01 00:00:05] Production.INFO: +31 [2026-01-01 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (105,11,1,31,31,'RMScheduler',2026-01-01 00:00:05,1,0,,,0) [2026-01-01 00:00:05] Production.INFO: next invoice date [2026-01-01 00:00:05] Production.INFO: 2026-02-01 [2026-01-01 00:00:05] Production.INFO: getdaysdiff [2026-01-01 00:00:05] Production.INFO: +31 [2026-01-01 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (3,9,2,31,31,'RMScheduler',2026-01-01 00:00:05,1,0,,,0) [2026-01-01 00:00:05] Production.INFO: next invoice date [2026-01-01 00:00:05] Production.INFO: 2026-02-01 [2026-01-01 00:00:05] Production.INFO: getdaysdiff [2026-01-01 00:00:05] Production.INFO: +31 [2026-01-01 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (113,11,1,31,31,'RMScheduler',2026-01-01 00:00:05,1,0,,,0) [2026-01-01 00:00:05] Production.INFO: next invoice date [2026-01-01 00:00:05] Production.INFO: 2026-02-01 [2026-01-01 00:00:05] Production.INFO: getdaysdiff [2026-01-01 00:00:05] Production.INFO: +31 [2026-01-01 00:00:05] Production.INFO: call prc_setAccountDiscountPlan (114,11,1,31,31,'RMScheduler',2026-01-01 00:00:05,1,0,,,0) [2026-01-01 00:00:06] Production.INFO: next invoice date [2026-01-01 00:00:06] Production.INFO: 2026-02-01 [2026-01-01 00:00:06] Production.INFO: getdaysdiff [2026-01-01 00:00:06] Production.INFO: +31 [2026-01-01 00:00:06] Production.INFO: call prc_setAccountDiscountPlan (3,16,1,31,31,'RMScheduler',2026-01-01 00:00:05,1,0,,,0) [2026-01-01 00:00:06] Production.INFO: next invoice date [2026-01-01 00:00:06] Production.INFO: 2026-02-01 [2026-01-01 00:00:06] Production.INFO: getdaysdiff [2026-01-01 00:00:06] Production.INFO: +31 [2026-01-01 00:00:06] Production.INFO: call prc_setAccountDiscountPlan (66,11,1,31,31,'RMScheduler',2026-01-01 00:00:05,1,0,,,0) [2026-01-01 00:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-12-31 21:00:07 [end_date_ymd] => 2026-01-01 00:00:07 [RateCDR] => 1 ) [2026-01-01 00:00: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` >= '2025-12-31 21:00:07' and `end` < '2026-01-01 00:00: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-01 00:00:20] Production.INFO: count ==2050 [2026-01-01 00:00:22] Production.ERROR: pbx CDR StartTime 2025-12-31 21:00:07 - End Time 2026-01-01 00:00:07 [2026-01-01 00:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 00:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16481659', 'tblTempUsageDetail_20' ) start [2026-01-01 00:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16481659', 'tblTempUsageDetail_20' ) end [2026-01-01 00:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16481659', 'tblTempVendorCDR_20' ) start [2026-01-01 00:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16481659', 'tblTempVendorCDR_20' ) end [2026-01-01 00:00:22] Production.INFO: ProcessCDR(1,16481659,1,1,2) [2026-01-01 00:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16481659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 00:03:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16481659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 00:03:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16481659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 00:07:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16481659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 00:07:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16481659', 'tblTempUsageDetail_20' ) start [2026-01-01 00:07:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16481659', 'tblTempUsageDetail_20' ) end [2026-01-01 00:07:18] Production.ERROR: pbx prc_insertCDR start [2026-01-01 00:07:19] Production.ERROR: pbx prc_insertCDR end [2026-01-01 00:07:23] Production.INFO: ==596== Releasing lock... [2026-01-01 00:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 00:07:23] Production.INFO: 44.75 MB #Memory Used# [2026-01-01 01:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-31 22:00:06 [end_date_ymd] => 2026-01-01 01:00:06 [RateCDR] => 1 ) [2026-01-01 01:00: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` >= '2025-12-31 22:00:06' and `end` < '2026-01-01 01:00: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-01 01:00:26] Production.INFO: count ==1539 [2026-01-01 01:00:27] Production.ERROR: pbx CDR StartTime 2025-12-31 22:00:06 - End Time 2026-01-01 01:00:06 [2026-01-01 01:00:27] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 01:00:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16481906', 'tblTempUsageDetail_20' ) start [2026-01-01 01:00:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16481906', 'tblTempUsageDetail_20' ) end [2026-01-01 01:00:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16481906', 'tblTempVendorCDR_20' ) start [2026-01-01 01:00:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16481906', 'tblTempVendorCDR_20' ) end [2026-01-01 01:00:27] Production.INFO: ProcessCDR(1,16481906,1,1,2) [2026-01-01 01:00:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16481906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 01:03:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16481906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 01:03:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16481906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 01:07:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16481906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 01:07:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16481906', 'tblTempUsageDetail_20' ) start [2026-01-01 01:07:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16481906', 'tblTempUsageDetail_20' ) end [2026-01-01 01:07:47] Production.ERROR: pbx prc_insertCDR start [2026-01-01 01:07:47] Production.ERROR: pbx prc_insertCDR end [2026-01-01 01:07:47] Production.INFO: ==5326== Releasing lock... [2026-01-01 01:07:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 01:07:47] Production.INFO: 39.75 MB #Memory Used# [2026-01-01 02:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-31 23:00:06 [end_date_ymd] => 2026-01-01 02:00:06 [RateCDR] => 1 ) [2026-01-01 02:00: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` >= '2025-12-31 23:00:06' and `end` < '2026-01-01 02:00: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-01 02:00:19] Production.INFO: count ==1531 [2026-01-01 02:00:20] Production.ERROR: pbx CDR StartTime 2025-12-31 23:00:06 - End Time 2026-01-01 02:00:06 [2026-01-01 02:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 02:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482153', 'tblTempUsageDetail_20' ) start [2026-01-01 02:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482153', 'tblTempUsageDetail_20' ) end [2026-01-01 02:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482153', 'tblTempVendorCDR_20' ) start [2026-01-01 02:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482153', 'tblTempVendorCDR_20' ) end [2026-01-01 02:00:20] Production.INFO: ProcessCDR(1,16482153,1,1,2) [2026-01-01 02:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16482153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 02:03:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16482153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 02:03:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16482153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 02:07:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16482153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 02:07:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482153', 'tblTempUsageDetail_20' ) start [2026-01-01 02:07:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482153', 'tblTempUsageDetail_20' ) end [2026-01-01 02:07:15] Production.ERROR: pbx prc_insertCDR start [2026-01-01 02:07:15] Production.ERROR: pbx prc_insertCDR end [2026-01-01 02:07:15] Production.INFO: ==9852== Releasing lock... [2026-01-01 02:07:15] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 02:07:15] Production.INFO: 39.5 MB #Memory Used# [2026-01-01 03:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 00:00:06 [end_date_ymd] => 2026-01-01 03:00:06 [RateCDR] => 1 ) [2026-01-01 03:00: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-01 00:00:06' and `end` < '2026-01-01 03:00: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-01 03:00:18] Production.INFO: count ==1247 [2026-01-01 03:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 00:00:06 - End Time 2026-01-01 03:00:06 [2026-01-01 03:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482400', 'tblTempUsageDetail_20' ) start [2026-01-01 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482400', 'tblTempUsageDetail_20' ) end [2026-01-01 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482400', 'tblTempVendorCDR_20' ) start [2026-01-01 03:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482400', 'tblTempVendorCDR_20' ) end [2026-01-01 03:00:18] Production.INFO: ProcessCDR(1,16482400,1,1,2) [2026-01-01 03:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16482400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 03:03:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16482400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 03:03:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16482400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 03:07:05] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16482400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 03:07:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482400', 'tblTempUsageDetail_20' ) start [2026-01-01 03:07:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482400', 'tblTempUsageDetail_20' ) end [2026-01-01 03:07:05] Production.ERROR: pbx prc_insertCDR start [2026-01-01 03:07:06] Production.ERROR: pbx prc_insertCDR end [2026-01-01 03:07:06] Production.INFO: ==14464== Releasing lock... [2026-01-01 03:07:06] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 03:07:06] Production.INFO: 37.75 MB #Memory Used# [2026-01-01 04:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 01:00:05 [end_date_ymd] => 2026-01-01 04:00:05 [RateCDR] => 1 ) [2026-01-01 04:00: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-01 01:00:05' and `end` < '2026-01-01 04:00: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-01 04:00:17] Production.INFO: count ==888 [2026-01-01 04:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 01:00:05 - End Time 2026-01-01 04:00:05 [2026-01-01 04:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482648', 'tblTempUsageDetail_20' ) start [2026-01-01 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482648', 'tblTempUsageDetail_20' ) end [2026-01-01 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482648', 'tblTempVendorCDR_20' ) start [2026-01-01 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482648', 'tblTempVendorCDR_20' ) end [2026-01-01 04:00:18] Production.INFO: ProcessCDR(1,16482648,1,1,2) [2026-01-01 04:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16482648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 04:03:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16482648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 04:03:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16482648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 04:07:17] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16482648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 04:07:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482648', 'tblTempUsageDetail_20' ) start [2026-01-01 04:07:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482648', 'tblTempUsageDetail_20' ) end [2026-01-01 04:07:17] Production.ERROR: pbx prc_insertCDR start [2026-01-01 04:07:17] Production.ERROR: pbx prc_insertCDR end [2026-01-01 04:07:17] Production.INFO: ==19023== Releasing lock... [2026-01-01 04:07:17] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 04:07:17] Production.INFO: 35 MB #Memory Used# [2026-01-01 05:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 02:00:05 [end_date_ymd] => 2026-01-01 05:00:05 [RateCDR] => 1 ) [2026-01-01 05:00: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-01 02:00:05' and `end` < '2026-01-01 05:00: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-01 05:00:19] Production.INFO: count ==508 [2026-01-01 05:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 02:00:05 - End Time 2026-01-01 05:00:05 [2026-01-01 05:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482896', 'tblTempUsageDetail_20' ) start [2026-01-01 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16482896', 'tblTempUsageDetail_20' ) end [2026-01-01 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482896', 'tblTempVendorCDR_20' ) start [2026-01-01 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16482896', 'tblTempVendorCDR_20' ) end [2026-01-01 05:00:19] Production.INFO: ProcessCDR(1,16482896,1,1,2) [2026-01-01 05:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16482896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 05:03:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16482896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 05:03:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16482896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 05:07:16] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16482896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 05:07:16] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482896', 'tblTempUsageDetail_20' ) start [2026-01-01 05:07:16] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16482896', 'tblTempUsageDetail_20' ) end [2026-01-01 05:07:16] Production.ERROR: pbx prc_insertCDR start [2026-01-01 05:07:16] Production.ERROR: pbx prc_insertCDR end [2026-01-01 05:07:16] Production.INFO: ==23892== Releasing lock... [2026-01-01 05:07:16] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 05:07:16] Production.INFO: 32.75 MB #Memory Used# [2026-01-01 06:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 03:00:05 [end_date_ymd] => 2026-01-01 06:00:05 [RateCDR] => 1 ) [2026-01-01 06:00: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-01 03:00:05' and `end` < '2026-01-01 06:00: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-01 06:00:17] Production.INFO: count ==359 [2026-01-01 06:00:17] Production.ERROR: pbx CDR StartTime 2026-01-01 03:00:05 - End Time 2026-01-01 06:00:05 [2026-01-01 06:00:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 06:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483143', 'tblTempUsageDetail_20' ) start [2026-01-01 06:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483143', 'tblTempUsageDetail_20' ) end [2026-01-01 06:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483143', 'tblTempVendorCDR_20' ) start [2026-01-01 06:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483143', 'tblTempVendorCDR_20' ) end [2026-01-01 06:00:17] Production.INFO: ProcessCDR(1,16483143,1,1,2) [2026-01-01 06:00:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16483143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 06:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16483143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 06:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16483143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 06:06:53] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16483143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 06:06:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483143', 'tblTempUsageDetail_20' ) start [2026-01-01 06:06:54] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483143', 'tblTempUsageDetail_20' ) end [2026-01-01 06:06:54] Production.ERROR: pbx prc_insertCDR start [2026-01-01 06:06:54] Production.ERROR: pbx prc_insertCDR end [2026-01-01 06:06:54] Production.INFO: ==28467== Releasing lock... [2026-01-01 06:06:54] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 06:06:54] Production.INFO: 31 MB #Memory Used# [2026-01-01 07:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 04:00:06 [end_date_ymd] => 2026-01-01 07:00:06 [RateCDR] => 1 ) [2026-01-01 07:00: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-01 04:00:06' and `end` < '2026-01-01 07:00: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-01 07:00:19] Production.INFO: count ==208 [2026-01-01 07:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 04:00:06 - End Time 2026-01-01 07:00:06 [2026-01-01 07:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483390', 'tblTempUsageDetail_20' ) start [2026-01-01 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483390', 'tblTempUsageDetail_20' ) end [2026-01-01 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483390', 'tblTempVendorCDR_20' ) start [2026-01-01 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483390', 'tblTempVendorCDR_20' ) end [2026-01-01 07:00:19] Production.INFO: ProcessCDR(1,16483390,1,1,2) [2026-01-01 07:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16483390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 07:03:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16483390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 07:03:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16483390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 07:07:11] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16483390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 07:07:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483390', 'tblTempUsageDetail_20' ) start [2026-01-01 07:07:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483390', 'tblTempUsageDetail_20' ) end [2026-01-01 07:07:11] Production.ERROR: pbx prc_insertCDR start [2026-01-01 07:07:11] Production.ERROR: pbx prc_insertCDR end [2026-01-01 07:07:11] Production.INFO: ==1163== Releasing lock... [2026-01-01 07:07:11] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 07:07:11] Production.INFO: 30.25 MB #Memory Used# [2026-01-01 08:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 05:00:05 [end_date_ymd] => 2026-01-01 08:00:05 [RateCDR] => 1 ) [2026-01-01 08:00: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-01 05:00:05' and `end` < '2026-01-01 08:00: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-01 08:00:17] Production.INFO: count ==105 [2026-01-01 08:00:17] Production.ERROR: pbx CDR StartTime 2026-01-01 05:00:05 - End Time 2026-01-01 08:00:05 [2026-01-01 08:00:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 08:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483637', 'tblTempUsageDetail_20' ) start [2026-01-01 08:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483637', 'tblTempUsageDetail_20' ) end [2026-01-01 08:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483637', 'tblTempVendorCDR_20' ) start [2026-01-01 08:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483637', 'tblTempVendorCDR_20' ) end [2026-01-01 08:00:17] Production.INFO: ProcessCDR(1,16483637,1,1,2) [2026-01-01 08:00:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16483637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 08:03:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16483637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 08:03:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16483637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 08:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16483637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 08:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483637', 'tblTempUsageDetail_20' ) start [2026-01-01 08:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483637', 'tblTempUsageDetail_20' ) end [2026-01-01 08:07:20] Production.ERROR: pbx prc_insertCDR start [2026-01-01 08:07:20] Production.ERROR: pbx prc_insertCDR end [2026-01-01 08:07:20] Production.INFO: ==6691== Releasing lock... [2026-01-01 08:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 08:07:20] Production.INFO: 28.75 MB #Memory Used# [2026-01-01 09:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 06:00:05 [end_date_ymd] => 2026-01-01 09:00:05 [RateCDR] => 1 ) [2026-01-01 09:00: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-01 06:00:05' and `end` < '2026-01-01 09:00: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-01 09:00:17] Production.INFO: count ==90 [2026-01-01 09:00:17] Production.ERROR: pbx CDR StartTime 2026-01-01 06:00:05 - End Time 2026-01-01 09:00:05 [2026-01-01 09:00:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483884', 'tblTempUsageDetail_20' ) start [2026-01-01 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16483884', 'tblTempUsageDetail_20' ) end [2026-01-01 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483884', 'tblTempVendorCDR_20' ) start [2026-01-01 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16483884', 'tblTempVendorCDR_20' ) end [2026-01-01 09:00:17] Production.INFO: ProcessCDR(1,16483884,1,1,2) [2026-01-01 09:00:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16483884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 09:03:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16483884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 09:03:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16483884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 09:07:02] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16483884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 09:07:02] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483884', 'tblTempUsageDetail_20' ) start [2026-01-01 09:07:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16483884', 'tblTempUsageDetail_20' ) end [2026-01-01 09:07:03] Production.ERROR: pbx prc_insertCDR start [2026-01-01 09:07:03] Production.ERROR: pbx prc_insertCDR end [2026-01-01 09:07:03] Production.INFO: ==11414== Releasing lock... [2026-01-01 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 09:07:03] Production.INFO: 28.5 MB #Memory Used# [2026-01-01 10:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 07:00:05 [end_date_ymd] => 2026-01-01 10:00:05 [RateCDR] => 1 ) [2026-01-01 10:00: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-01 07:00:05' and `end` < '2026-01-01 10:00: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-01 10:00:18] Production.INFO: count ==217 [2026-01-01 10:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 07:00:05 - End Time 2026-01-01 10:00:05 [2026-01-01 10:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484131', 'tblTempUsageDetail_20' ) start [2026-01-01 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484131', 'tblTempUsageDetail_20' ) end [2026-01-01 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484131', 'tblTempVendorCDR_20' ) start [2026-01-01 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484131', 'tblTempVendorCDR_20' ) end [2026-01-01 10:00:18] Production.INFO: ProcessCDR(1,16484131,1,1,2) [2026-01-01 10:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16484131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 10:03:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16484131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 10:03:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16484131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 10:06:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16484131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 10:06:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484131', 'tblTempUsageDetail_20' ) start [2026-01-01 10:06:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484131', 'tblTempUsageDetail_20' ) end [2026-01-01 10:06:49] Production.ERROR: pbx prc_insertCDR start [2026-01-01 10:06:49] Production.ERROR: pbx prc_insertCDR end [2026-01-01 10:06:49] Production.INFO: ==17139== Releasing lock... [2026-01-01 10:06:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 10:06:49] Production.INFO: 30 MB #Memory Used# [2026-01-01 11:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 08:00:06 [end_date_ymd] => 2026-01-01 11:00:06 [RateCDR] => 1 ) [2026-01-01 11:00: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-01 08:00:06' and `end` < '2026-01-01 11:00: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-01 11:00:18] Production.INFO: count ==488 [2026-01-01 11:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 08:00:06 - End Time 2026-01-01 11:00:06 [2026-01-01 11:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484378', 'tblTempUsageDetail_20' ) start [2026-01-01 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484378', 'tblTempUsageDetail_20' ) end [2026-01-01 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484378', 'tblTempVendorCDR_20' ) start [2026-01-01 11:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484378', 'tblTempVendorCDR_20' ) end [2026-01-01 11:00:18] Production.INFO: ProcessCDR(1,16484378,1,1,2) [2026-01-01 11:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16484378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 11:03:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16484378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 11:03:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16484378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 11:07:11] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16484378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 11:07:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484378', 'tblTempUsageDetail_20' ) start [2026-01-01 11:07:12] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484378', 'tblTempUsageDetail_20' ) end [2026-01-01 11:07:12] Production.ERROR: pbx prc_insertCDR start [2026-01-01 11:07:12] Production.ERROR: pbx prc_insertCDR end [2026-01-01 11:07:12] Production.INFO: ==22027== Releasing lock... [2026-01-01 11:07:12] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 11:07:12] Production.INFO: 31.75 MB #Memory Used# [2026-01-01 12:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 09:00:05 [end_date_ymd] => 2026-01-01 12:00:05 [RateCDR] => 1 ) [2026-01-01 12:00: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-01 09:00:05' and `end` < '2026-01-01 12:00: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-01 12:00:17] Production.INFO: count ==778 [2026-01-01 12:00:17] Production.ERROR: pbx CDR StartTime 2026-01-01 09:00:05 - End Time 2026-01-01 12:00:05 [2026-01-01 12:00:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 12:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484625', 'tblTempUsageDetail_20' ) start [2026-01-01 12:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484625', 'tblTempUsageDetail_20' ) end [2026-01-01 12:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484625', 'tblTempVendorCDR_20' ) start [2026-01-01 12:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484625', 'tblTempVendorCDR_20' ) end [2026-01-01 12:00:17] Production.INFO: ProcessCDR(1,16484625,1,1,2) [2026-01-01 12:00:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16484625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 12:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16484625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 12:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16484625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 12:07:02] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16484625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 12:07:02] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484625', 'tblTempUsageDetail_20' ) start [2026-01-01 12:07:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484625', 'tblTempUsageDetail_20' ) end [2026-01-01 12:07:03] Production.ERROR: pbx prc_insertCDR start [2026-01-01 12:07:05] Production.ERROR: pbx prc_insertCDR end [2026-01-01 12:07:05] Production.INFO: ==27055== Releasing lock... [2026-01-01 12:07:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 12:07:05] Production.INFO: 34 MB #Memory Used# [2026-01-01 13:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 10:00:05 [end_date_ymd] => 2026-01-01 13:00:05 [RateCDR] => 1 ) [2026-01-01 13:00: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-01 10:00:05' and `end` < '2026-01-01 13:00: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-01 13:00:18] Production.INFO: count ==1280 [2026-01-01 13:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 10:00:05 - End Time 2026-01-01 13:00:05 [2026-01-01 13:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 13:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484872', 'tblTempUsageDetail_20' ) start [2026-01-01 13:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16484872', 'tblTempUsageDetail_20' ) end [2026-01-01 13:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484872', 'tblTempVendorCDR_20' ) start [2026-01-01 13:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16484872', 'tblTempVendorCDR_20' ) end [2026-01-01 13:00:18] Production.INFO: ProcessCDR(1,16484872,1,1,2) [2026-01-01 13:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16484872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 13:03:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16484872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 13:03:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16484872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 13:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16484872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 13:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484872', 'tblTempUsageDetail_20' ) start [2026-01-01 13:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16484872', 'tblTempUsageDetail_20' ) end [2026-01-01 13:07:20] Production.ERROR: pbx prc_insertCDR start [2026-01-01 13:07:21] Production.ERROR: pbx prc_insertCDR end [2026-01-01 13:07:21] Production.INFO: ==31911== Releasing lock... [2026-01-01 13:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 13:07:21] Production.INFO: 37.75 MB #Memory Used# [2026-01-01 14:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 11:00:05 [end_date_ymd] => 2026-01-01 14:00:05 [RateCDR] => 1 ) [2026-01-01 14:00: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-01 11:00:05' and `end` < '2026-01-01 14:00: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-01 14:00:18] Production.INFO: count ==1530 [2026-01-01 14:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 11:00:05 - End Time 2026-01-01 14:00:05 [2026-01-01 14:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485119', 'tblTempUsageDetail_20' ) start [2026-01-01 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485119', 'tblTempUsageDetail_20' ) end [2026-01-01 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485119', 'tblTempVendorCDR_20' ) start [2026-01-01 14:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485119', 'tblTempVendorCDR_20' ) end [2026-01-01 14:00:18] Production.INFO: ProcessCDR(1,16485119,1,1,2) [2026-01-01 14:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16485119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 14:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16485119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 14:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16485119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 14:06:58] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16485119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 14:06:58] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485119', 'tblTempUsageDetail_20' ) start [2026-01-01 14:06:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485119', 'tblTempUsageDetail_20' ) end [2026-01-01 14:06:59] Production.ERROR: pbx prc_insertCDR start [2026-01-01 14:06:59] Production.ERROR: pbx prc_insertCDR end [2026-01-01 14:06:59] Production.INFO: ==4719== Releasing lock... [2026-01-01 14:06:59] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 14:06:59] Production.INFO: 39.75 MB #Memory Used# [2026-01-01 15:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 12:00:05 [end_date_ymd] => 2026-01-01 15:00:05 [RateCDR] => 1 ) [2026-01-01 15:00: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-01 12:00:05' and `end` < '2026-01-01 15:00: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-01 15:00:17] Production.INFO: count ==1633 [2026-01-01 15:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 12:00:05 - End Time 2026-01-01 15:00:05 [2026-01-01 15:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485366', 'tblTempUsageDetail_20' ) start [2026-01-01 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485366', 'tblTempUsageDetail_20' ) end [2026-01-01 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485366', 'tblTempVendorCDR_20' ) start [2026-01-01 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485366', 'tblTempVendorCDR_20' ) end [2026-01-01 15:00:18] Production.INFO: ProcessCDR(1,16485366,1,1,2) [2026-01-01 15:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16485366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 15:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16485366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 15:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16485366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 15:07:01] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16485366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 15:07:01] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485366', 'tblTempUsageDetail_20' ) start [2026-01-01 15:07:01] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485366', 'tblTempUsageDetail_20' ) end [2026-01-01 15:07:01] Production.ERROR: pbx prc_insertCDR start [2026-01-01 15:07:01] Production.ERROR: pbx prc_insertCDR end [2026-01-01 15:07:02] Production.INFO: ==9329== Releasing lock... [2026-01-01 15:07:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 15:07:02] Production.INFO: 40.25 MB #Memory Used# [2026-01-01 16:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 13:00:05 [end_date_ymd] => 2026-01-01 16:00:05 [RateCDR] => 1 ) [2026-01-01 16:00: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-01 13:00:05' and `end` < '2026-01-01 16:00: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-01 16:00:17] Production.INFO: count ==1541 [2026-01-01 16:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 13:00:05 - End Time 2026-01-01 16:00:05 [2026-01-01 16:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485613', 'tblTempUsageDetail_20' ) start [2026-01-01 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485613', 'tblTempUsageDetail_20' ) end [2026-01-01 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485613', 'tblTempVendorCDR_20' ) start [2026-01-01 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485613', 'tblTempVendorCDR_20' ) end [2026-01-01 16:00:18] Production.INFO: ProcessCDR(1,16485613,1,1,2) [2026-01-01 16:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16485613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 16:03:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16485613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 16:03:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16485613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 16:07:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16485613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 16:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485613', 'tblTempUsageDetail_20' ) start [2026-01-01 16:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485613', 'tblTempUsageDetail_20' ) end [2026-01-01 16:07:28] Production.ERROR: pbx prc_insertCDR start [2026-01-01 16:07:29] Production.ERROR: pbx prc_insertCDR end [2026-01-01 16:07:29] Production.INFO: ==14879== Releasing lock... [2026-01-01 16:07:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 16:07:29] Production.INFO: 40 MB #Memory Used# [2026-01-01 17:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 14:00:05 [end_date_ymd] => 2026-01-01 17:00:05 [RateCDR] => 1 ) [2026-01-01 17:00: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-01 14:00:05' and `end` < '2026-01-01 17:00: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-01 17:00:17] Production.INFO: count ==1672 [2026-01-01 17:00:18] Production.ERROR: pbx CDR StartTime 2026-01-01 14:00:05 - End Time 2026-01-01 17:00:05 [2026-01-01 17:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485860', 'tblTempUsageDetail_20' ) start [2026-01-01 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16485860', 'tblTempUsageDetail_20' ) end [2026-01-01 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485860', 'tblTempVendorCDR_20' ) start [2026-01-01 17:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16485860', 'tblTempVendorCDR_20' ) end [2026-01-01 17:00:18] Production.INFO: ProcessCDR(1,16485860,1,1,2) [2026-01-01 17:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16485860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 17:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16485860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 17:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16485860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 17:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16485860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 17:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485860', 'tblTempUsageDetail_20' ) start [2026-01-01 17:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16485860', 'tblTempUsageDetail_20' ) end [2026-01-01 17:07:20] Production.ERROR: pbx prc_insertCDR start [2026-01-01 17:07:21] Production.ERROR: pbx prc_insertCDR end [2026-01-01 17:07:21] Production.INFO: ==21403== Releasing lock... [2026-01-01 17:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 17:07:21] Production.INFO: 40.75 MB #Memory Used# [2026-01-01 18:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 15:00:06 [end_date_ymd] => 2026-01-01 18:00:06 [RateCDR] => 1 ) [2026-01-01 18:00: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-01 15:00:06' and `end` < '2026-01-01 18:00: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-01 18:00:18] Production.INFO: count ==2073 [2026-01-01 18:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 15:00:06 - End Time 2026-01-01 18:00:06 [2026-01-01 18:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 18:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486107', 'tblTempUsageDetail_20' ) start [2026-01-01 18:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486107', 'tblTempUsageDetail_20' ) end [2026-01-01 18:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486107', 'tblTempVendorCDR_20' ) start [2026-01-01 18:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486107', 'tblTempVendorCDR_20' ) end [2026-01-01 18:00:19] Production.INFO: ProcessCDR(1,16486107,1,1,2) [2026-01-01 18:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16486107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 18:03:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16486107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 18:03:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16486107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 18:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16486107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 18:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486107', 'tblTempUsageDetail_20' ) start [2026-01-01 18:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486107', 'tblTempUsageDetail_20' ) end [2026-01-01 18:07:27] Production.ERROR: pbx prc_insertCDR start [2026-01-01 18:07:28] Production.ERROR: pbx prc_insertCDR end [2026-01-01 18:07:28] Production.INFO: ==25930== Releasing lock... [2026-01-01 18:07:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 18:07:28] Production.INFO: 44 MB #Memory Used# [2026-01-01 19:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 16:00:06 [end_date_ymd] => 2026-01-01 19:00:06 [RateCDR] => 1 ) [2026-01-01 19:00: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-01 16:00:06' and `end` < '2026-01-01 19:00: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-01 19:00:18] Production.INFO: count ==2565 [2026-01-01 19:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 16:00:06 - End Time 2026-01-01 19:00:06 [2026-01-01 19:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486354', 'tblTempUsageDetail_20' ) start [2026-01-01 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486354', 'tblTempUsageDetail_20' ) end [2026-01-01 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486354', 'tblTempVendorCDR_20' ) start [2026-01-01 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486354', 'tblTempVendorCDR_20' ) end [2026-01-01 19:00:20] Production.INFO: ProcessCDR(1,16486354,1,1,2) [2026-01-01 19:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16486354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 19:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16486354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 19:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16486354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 19:07:13] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16486354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 19:07:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486354', 'tblTempUsageDetail_20' ) start [2026-01-01 19:07:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486354', 'tblTempUsageDetail_20' ) end [2026-01-01 19:07:14] Production.ERROR: pbx prc_insertCDR start [2026-01-01 19:07:14] Production.ERROR: pbx prc_insertCDR end [2026-01-01 19:07:14] Production.INFO: ==30632== Releasing lock... [2026-01-01 19:07:14] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 19:07:14] Production.INFO: 47.5 MB #Memory Used# [2026-01-01 20:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 17:00:06 [end_date_ymd] => 2026-01-01 20:00:06 [RateCDR] => 1 ) [2026-01-01 20:00: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-01 17:00:06' and `end` < '2026-01-01 20:00: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-01 20:00:18] Production.INFO: count ==2606 [2026-01-01 20:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 17:00:06 - End Time 2026-01-01 20:00:06 [2026-01-01 20:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486601', 'tblTempUsageDetail_20' ) start [2026-01-01 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486601', 'tblTempUsageDetail_20' ) end [2026-01-01 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486601', 'tblTempVendorCDR_20' ) start [2026-01-01 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486601', 'tblTempVendorCDR_20' ) end [2026-01-01 20:00:20] Production.INFO: ProcessCDR(1,16486601,1,1,2) [2026-01-01 20:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16486601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 20:03:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16486601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 20:03:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16486601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 20:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16486601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 20:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486601', 'tblTempUsageDetail_20' ) start [2026-01-01 20:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486601', 'tblTempUsageDetail_20' ) end [2026-01-01 20:07:25] Production.ERROR: pbx prc_insertCDR start [2026-01-01 20:07:26] Production.ERROR: pbx prc_insertCDR end [2026-01-01 20:07:26] Production.INFO: ==2962== Releasing lock... [2026-01-01 20:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 20:07:26] Production.INFO: 47.75 MB #Memory Used# [2026-01-01 21:00:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 18:00:05 [end_date_ymd] => 2026-01-01 21:00:05 [RateCDR] => 1 ) [2026-01-01 21:00: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-01 18:00:05' and `end` < '2026-01-01 21:00: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-01 21:00:18] Production.INFO: count ==2403 [2026-01-01 21:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 18:00:05 - End Time 2026-01-01 21:00:05 [2026-01-01 21:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486848', 'tblTempUsageDetail_20' ) start [2026-01-01 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16486848', 'tblTempUsageDetail_20' ) end [2026-01-01 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486848', 'tblTempVendorCDR_20' ) start [2026-01-01 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16486848', 'tblTempVendorCDR_20' ) end [2026-01-01 21:00:19] Production.INFO: ProcessCDR(1,16486848,1,1,2) [2026-01-01 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16486848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 21:03:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16486848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 21:03:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16486848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 21:07:05] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16486848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 21:07:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486848', 'tblTempUsageDetail_20' ) start [2026-01-01 21:07:05] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16486848', 'tblTempUsageDetail_20' ) end [2026-01-01 21:07:05] Production.ERROR: pbx prc_insertCDR start [2026-01-01 21:07:06] Production.ERROR: pbx prc_insertCDR end [2026-01-01 21:07:06] Production.INFO: ==7724== Releasing lock... [2026-01-01 21:07:06] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 21:07:06] Production.INFO: 46.25 MB #Memory Used# [2026-01-01 22:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 19:00:06 [end_date_ymd] => 2026-01-01 22:00:06 [RateCDR] => 1 ) [2026-01-01 22:00: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-01 19:00:06' and `end` < '2026-01-01 22:00: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-01 22:00:19] Production.INFO: count ==1801 [2026-01-01 22:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 19:00:06 - End Time 2026-01-01 22:00:06 [2026-01-01 22:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16487095', 'tblTempUsageDetail_20' ) start [2026-01-01 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16487095', 'tblTempUsageDetail_20' ) end [2026-01-01 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16487095', 'tblTempVendorCDR_20' ) start [2026-01-01 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16487095', 'tblTempVendorCDR_20' ) end [2026-01-01 22:00:19] Production.INFO: ProcessCDR(1,16487095,1,1,2) [2026-01-01 22:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16487095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 22:03:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16487095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 22:03:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16487095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 22:07:10] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16487095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 22:07:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16487095', 'tblTempUsageDetail_20' ) start [2026-01-01 22:07:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16487095', 'tblTempUsageDetail_20' ) end [2026-01-01 22:07:11] Production.ERROR: pbx prc_insertCDR start [2026-01-01 22:07:11] Production.ERROR: pbx prc_insertCDR end [2026-01-01 22:07:11] Production.INFO: ==12435== Releasing lock... [2026-01-01 22:07:11] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 22:07:11] Production.INFO: 41.75 MB #Memory Used# [2026-01-01 23:00:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-01 20:00:06 [end_date_ymd] => 2026-01-01 23:00:06 [RateCDR] => 1 ) [2026-01-01 23:00: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-01 20:00:06' and `end` < '2026-01-01 23:00: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-01 23:00:18] Production.INFO: count ==1591 [2026-01-01 23:00:19] Production.ERROR: pbx CDR StartTime 2026-01-01 20:00:06 - End Time 2026-01-01 23:00:06 [2026-01-01 23:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-01 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16487342', 'tblTempUsageDetail_20' ) start [2026-01-01 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16487342', 'tblTempUsageDetail_20' ) end [2026-01-01 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16487342', 'tblTempVendorCDR_20' ) start [2026-01-01 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16487342', 'tblTempVendorCDR_20' ) end [2026-01-01 23:00:19] Production.INFO: ProcessCDR(1,16487342,1,1,2) [2026-01-01 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16487342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 23:03:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16487342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-01 23:03:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16487342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 23:07:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16487342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-01 23:07:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16487342', 'tblTempUsageDetail_20' ) start [2026-01-01 23:07:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16487342', 'tblTempUsageDetail_20' ) end [2026-01-01 23:07:18] Production.ERROR: pbx prc_insertCDR start [2026-01-01 23:07:18] Production.ERROR: pbx prc_insertCDR end [2026-01-01 23:07:18] Production.INFO: ==17045== Releasing lock... [2026-01-01 23:07:18] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-01 23:07:18] Production.INFO: 39.75 MB #Memory Used#