[2025-12-26 00:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-25 21:00:05 [end_date_ymd] => 2025-12-26 00:00:05 [RateCDR] => 1 ) [2025-12-26 00: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` >= '2025-12-25 21:00:05' and `end` < '2025-12-26 00: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 ,'') [2025-12-26 00:00:20] Production.INFO: count ==6372 [2025-12-26 00:00:25] Production.ERROR: pbx CDR StartTime 2025-12-25 21:00:05 - End Time 2025-12-26 00:00:05 [2025-12-26 00:00:25] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 00:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446094', 'tblTempUsageDetail_20' ) start [2025-12-26 00:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446094', 'tblTempUsageDetail_20' ) end [2025-12-26 00:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446094', 'tblTempVendorCDR_20' ) start [2025-12-26 00:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446094', 'tblTempVendorCDR_20' ) end [2025-12-26 00:00:25] Production.INFO: ProcessCDR(1,16446094,1,1,2) [2025-12-26 00:00:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16446094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 00:03:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16446094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 00:03:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16446094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 00:07:15] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16446094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 00:07:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446094', 'tblTempUsageDetail_20' ) start [2025-12-26 00:07:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446094', 'tblTempUsageDetail_20' ) end [2025-12-26 00:07:15] Production.ERROR: pbx prc_insertCDR start [2025-12-26 00:07:15] Production.ERROR: pbx prc_insertCDR end [2025-12-26 00:07:17] Production.INFO: ==16133== Releasing lock... [2025-12-26 00:07:17] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 00:07:17] Production.INFO: 77 MB #Memory Used# [2025-12-26 01:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-25 22:00:06 [end_date_ymd] => 2025-12-26 01:00:06 [RateCDR] => 1 ) [2025-12-26 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-25 22:00:06' and `end` < '2025-12-26 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 ,'') [2025-12-26 01:00:25] Production.INFO: count ==5508 [2025-12-26 01:00:28] Production.ERROR: pbx CDR StartTime 2025-12-25 22:00:06 - End Time 2025-12-26 01:00:06 [2025-12-26 01:00:28] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 01:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446341', 'tblTempUsageDetail_20' ) start [2025-12-26 01:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446341', 'tblTempUsageDetail_20' ) end [2025-12-26 01:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446341', 'tblTempVendorCDR_20' ) start [2025-12-26 01:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446341', 'tblTempVendorCDR_20' ) end [2025-12-26 01:00:29] Production.INFO: ProcessCDR(1,16446341,1,1,2) [2025-12-26 01:00:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16446341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 01:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16446341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 01:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16446341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 01:07:13] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16446341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 01:07:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446341', 'tblTempUsageDetail_20' ) start [2025-12-26 01:07:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446341', 'tblTempUsageDetail_20' ) end [2025-12-26 01:07:13] Production.ERROR: pbx prc_insertCDR start [2025-12-26 01:07:14] Production.ERROR: pbx prc_insertCDR end [2025-12-26 01:07:14] Production.INFO: ==20768== Releasing lock... [2025-12-26 01:07:14] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 01:07:14] Production.INFO: 69.25 MB #Memory Used# [2025-12-26 02:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-12-25 23:00:07 [end_date_ymd] => 2025-12-26 02:00:07 [RateCDR] => 1 ) [2025-12-26 02: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-25 23:00:07' and `end` < '2025-12-26 02: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 ,'') [2025-12-26 02:00:19] Production.INFO: count ==3763 [2025-12-26 02:00:21] Production.ERROR: pbx CDR StartTime 2025-12-25 23:00:07 - End Time 2025-12-26 02:00:07 [2025-12-26 02:00:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 02:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446588', 'tblTempUsageDetail_20' ) start [2025-12-26 02:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446588', 'tblTempUsageDetail_20' ) end [2025-12-26 02:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446588', 'tblTempVendorCDR_20' ) start [2025-12-26 02:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446588', 'tblTempVendorCDR_20' ) end [2025-12-26 02:00:21] Production.INFO: ProcessCDR(1,16446588,1,1,2) [2025-12-26 02:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16446588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 02:02:52] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16446588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 02:02:52] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16446588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 02:06:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16446588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 02:06:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446588', 'tblTempUsageDetail_20' ) start [2025-12-26 02:06:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446588', 'tblTempUsageDetail_20' ) end [2025-12-26 02:06:36] Production.ERROR: pbx prc_insertCDR start [2025-12-26 02:06:36] Production.ERROR: pbx prc_insertCDR end [2025-12-26 02:06:36] Production.INFO: ==25330== Releasing lock... [2025-12-26 02:06:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 02:06:36] Production.INFO: 56.25 MB #Memory Used# [2025-12-26 03:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 00:00:05 [end_date_ymd] => 2025-12-26 03:00:05 [RateCDR] => 1 ) [2025-12-26 03: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` >= '2025-12-26 00:00:05' and `end` < '2025-12-26 03: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 ,'') [2025-12-26 03:00:18] Production.INFO: count ==3997 [2025-12-26 03:00:20] Production.ERROR: pbx CDR StartTime 2025-12-26 00:00:05 - End Time 2025-12-26 03:00:05 [2025-12-26 03:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446835', 'tblTempUsageDetail_20' ) start [2025-12-26 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16446835', 'tblTempUsageDetail_20' ) end [2025-12-26 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446835', 'tblTempVendorCDR_20' ) start [2025-12-26 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16446835', 'tblTempVendorCDR_20' ) end [2025-12-26 03:00:20] Production.INFO: ProcessCDR(1,16446835,1,1,2) [2025-12-26 03:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16446835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 03:02:52] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16446835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 03:02:52] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16446835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 03:06:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16446835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 03:06:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446835', 'tblTempUsageDetail_20' ) start [2025-12-26 03:06:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16446835', 'tblTempUsageDetail_20' ) end [2025-12-26 03:06:34] Production.ERROR: pbx prc_insertCDR start [2025-12-26 03:06:34] Production.ERROR: pbx prc_insertCDR end [2025-12-26 03:06:34] Production.INFO: ==30130== Releasing lock... [2025-12-26 03:06:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 03:06:34] Production.INFO: 58 MB #Memory Used# [2025-12-26 04:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 01:00:06 [end_date_ymd] => 2025-12-26 04:00:06 [RateCDR] => 1 ) [2025-12-26 04: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-26 01:00:06' and `end` < '2025-12-26 04: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 ,'') [2025-12-26 04:00:18] Production.INFO: count ==2302 [2025-12-26 04:00:19] Production.ERROR: pbx CDR StartTime 2025-12-26 01:00:06 - End Time 2025-12-26 04:00:06 [2025-12-26 04:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447083', 'tblTempUsageDetail_20' ) start [2025-12-26 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447083', 'tblTempUsageDetail_20' ) end [2025-12-26 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447083', 'tblTempVendorCDR_20' ) start [2025-12-26 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447083', 'tblTempVendorCDR_20' ) end [2025-12-26 04:00:19] Production.INFO: ProcessCDR(1,16447083,1,1,2) [2025-12-26 04:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16447083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 04:02:46] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16447083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 04:02:46] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16447083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 04:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16447083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447083', 'tblTempUsageDetail_20' ) start [2025-12-26 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447083', 'tblTempUsageDetail_20' ) end [2025-12-26 04:06:22] Production.ERROR: pbx prc_insertCDR start [2025-12-26 04:06:22] Production.ERROR: pbx prc_insertCDR end [2025-12-26 04:06:22] Production.INFO: ==2203== Releasing lock... [2025-12-26 04:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 04:06:22] Production.INFO: 46 MB #Memory Used# [2025-12-26 05:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 02:00:05 [end_date_ymd] => 2025-12-26 05:00:05 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 02:00:05' and `end` < '2025-12-26 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 ,'') [2025-12-26 05:00:17] Production.INFO: count ==1551 [2025-12-26 05:00:18] Production.ERROR: pbx CDR StartTime 2025-12-26 02:00:05 - End Time 2025-12-26 05:00:05 [2025-12-26 05:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447331', 'tblTempUsageDetail_20' ) start [2025-12-26 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447331', 'tblTempUsageDetail_20' ) end [2025-12-26 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447331', 'tblTempVendorCDR_20' ) start [2025-12-26 05:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447331', 'tblTempVendorCDR_20' ) end [2025-12-26 05:00:18] Production.INFO: ProcessCDR(1,16447331,1,1,2) [2025-12-26 05:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16447331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 05:03:15] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16447331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 05:03:15] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16447331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 05:06:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16447331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 05:06:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447331', 'tblTempUsageDetail_20' ) start [2025-12-26 05:06:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447331', 'tblTempUsageDetail_20' ) end [2025-12-26 05:06:47] Production.ERROR: pbx prc_insertCDR start [2025-12-26 05:06:48] Production.ERROR: pbx prc_insertCDR end [2025-12-26 05:06:48] Production.INFO: ==6598== Releasing lock... [2025-12-26 05:06:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 05:06:48] Production.INFO: 39.75 MB #Memory Used# [2025-12-26 06:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 03:00:06 [end_date_ymd] => 2025-12-26 06:00:06 [RateCDR] => 1 ) [2025-12-26 06: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-26 03:00:06' and `end` < '2025-12-26 06: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 ,'') [2025-12-26 06:00:18] Production.INFO: count ==526 [2025-12-26 06:00:18] Production.ERROR: pbx CDR StartTime 2025-12-26 03:00:06 - End Time 2025-12-26 06:00:06 [2025-12-26 06:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447578', 'tblTempUsageDetail_20' ) start [2025-12-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447578', 'tblTempUsageDetail_20' ) end [2025-12-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447578', 'tblTempVendorCDR_20' ) start [2025-12-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447578', 'tblTempVendorCDR_20' ) end [2025-12-26 06:00:18] Production.INFO: ProcessCDR(1,16447578,1,1,2) [2025-12-26 06:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16447578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 06:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16447578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 06:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16447578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 06:06:53] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16447578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 06:06:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447578', 'tblTempUsageDetail_20' ) start [2025-12-26 06:06:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447578', 'tblTempUsageDetail_20' ) end [2025-12-26 06:06:53] Production.ERROR: pbx prc_insertCDR start [2025-12-26 06:06:53] Production.ERROR: pbx prc_insertCDR end [2025-12-26 06:06:53] Production.INFO: ==11441== Releasing lock... [2025-12-26 06:06:53] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 06:06:53] Production.INFO: 32.25 MB #Memory Used# [2025-12-26 07:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 04:00:06 [end_date_ymd] => 2025-12-26 07:00:06 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 04:00:06' and `end` < '2025-12-26 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 ,'') [2025-12-26 07:00:17] Production.INFO: count ==123 [2025-12-26 07:00:17] Production.ERROR: pbx CDR StartTime 2025-12-26 04:00:06 - End Time 2025-12-26 07:00:06 [2025-12-26 07:00:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 07:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447825', 'tblTempUsageDetail_20' ) start [2025-12-26 07:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16447825', 'tblTempUsageDetail_20' ) end [2025-12-26 07:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447825', 'tblTempVendorCDR_20' ) start [2025-12-26 07:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16447825', 'tblTempVendorCDR_20' ) end [2025-12-26 07:00:17] Production.INFO: ProcessCDR(1,16447825,1,1,2) [2025-12-26 07:00:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16447825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 07:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16447825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 07:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16447825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 07:06:53] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16447825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 07:06:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447825', 'tblTempUsageDetail_20' ) start [2025-12-26 07:06:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16447825', 'tblTempUsageDetail_20' ) end [2025-12-26 07:06:53] Production.ERROR: pbx prc_insertCDR start [2025-12-26 07:06:53] Production.ERROR: pbx prc_insertCDR end [2025-12-26 07:06:53] Production.INFO: ==15952== Releasing lock... [2025-12-26 07:06:53] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 07:06:53] Production.INFO: 29.25 MB #Memory Used# [2025-12-26 08:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 05:00:06 [end_date_ymd] => 2025-12-26 08:00:06 [RateCDR] => 1 ) [2025-12-26 08: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-26 05:00:06' and `end` < '2025-12-26 08: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 ,'') [2025-12-26 08:00:18] Production.INFO: count ==143 [2025-12-26 08:00:18] Production.ERROR: pbx CDR StartTime 2025-12-26 05:00:06 - End Time 2025-12-26 08:00:06 [2025-12-26 08:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448072', 'tblTempUsageDetail_20' ) start [2025-12-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448072', 'tblTempUsageDetail_20' ) end [2025-12-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448072', 'tblTempVendorCDR_20' ) start [2025-12-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448072', 'tblTempVendorCDR_20' ) end [2025-12-26 08:00:18] Production.INFO: ProcessCDR(1,16448072,1,1,2) [2025-12-26 08:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16448072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 08:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16448072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 08:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16448072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 08:06:57] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16448072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 08:06:57] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448072', 'tblTempUsageDetail_20' ) start [2025-12-26 08:06:57] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448072', 'tblTempUsageDetail_20' ) end [2025-12-26 08:06:57] Production.ERROR: pbx prc_insertCDR start [2025-12-26 08:06:57] Production.ERROR: pbx prc_insertCDR end [2025-12-26 08:06:57] Production.INFO: ==20685== Releasing lock... [2025-12-26 08:06:57] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 08:06:57] Production.INFO: 29.5 MB #Memory Used# [2025-12-26 09:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 06:00:05 [end_date_ymd] => 2025-12-26 09:00:05 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 06:00:05' and `end` < '2025-12-26 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 ,'') [2025-12-26 09:00:17] Production.INFO: count ==149 [2025-12-26 09:00:17] Production.ERROR: pbx CDR StartTime 2025-12-26 06:00:05 - End Time 2025-12-26 09:00:05 [2025-12-26 09:00:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448319', 'tblTempUsageDetail_20' ) start [2025-12-26 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448319', 'tblTempUsageDetail_20' ) end [2025-12-26 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448319', 'tblTempVendorCDR_20' ) start [2025-12-26 09:00:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448319', 'tblTempVendorCDR_20' ) end [2025-12-26 09:00:17] Production.INFO: ProcessCDR(1,16448319,1,1,2) [2025-12-26 09:00:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16448319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 09:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16448319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 09:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16448319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 09:06:55] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16448319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 09:06:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448319', 'tblTempUsageDetail_20' ) start [2025-12-26 09:06:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448319', 'tblTempUsageDetail_20' ) end [2025-12-26 09:06:55] Production.ERROR: pbx prc_insertCDR start [2025-12-26 09:06:55] Production.ERROR: pbx prc_insertCDR end [2025-12-26 09:06:55] Production.INFO: ==25778== Releasing lock... [2025-12-26 09:06:55] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 09:06:55] Production.INFO: 29.75 MB #Memory Used# [2025-12-26 10:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 07:00:06 [end_date_ymd] => 2025-12-26 10:00:06 [RateCDR] => 1 ) [2025-12-26 10: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-26 07:00:06' and `end` < '2025-12-26 10: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 ,'') [2025-12-26 10:00:18] Production.INFO: count ==357 [2025-12-26 10:00:18] Production.ERROR: pbx CDR StartTime 2025-12-26 07:00:06 - End Time 2025-12-26 10:00:06 [2025-12-26 10:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448566', 'tblTempUsageDetail_20' ) start [2025-12-26 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448566', 'tblTempUsageDetail_20' ) end [2025-12-26 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448566', 'tblTempVendorCDR_20' ) start [2025-12-26 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448566', 'tblTempVendorCDR_20' ) end [2025-12-26 10:00:18] Production.INFO: ProcessCDR(1,16448566,1,1,2) [2025-12-26 10:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16448566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 10:03:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16448566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 10:03:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16448566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 10:06:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16448566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 10:06:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448566', 'tblTempUsageDetail_20' ) start [2025-12-26 10:06:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448566', 'tblTempUsageDetail_20' ) end [2025-12-26 10:06:44] Production.ERROR: pbx prc_insertCDR start [2025-12-26 10:06:44] Production.ERROR: pbx prc_insertCDR end [2025-12-26 10:06:44] Production.INFO: ==30282== Releasing lock... [2025-12-26 10:06:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 10:06:44] Production.INFO: 31.75 MB #Memory Used# [2025-12-26 11:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 08:00:06 [end_date_ymd] => 2025-12-26 11:00:06 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 08:00:06' and `end` < '2025-12-26 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 ,'') [2025-12-26 11:00:18] Production.INFO: count ==972 [2025-12-26 11:00:19] Production.ERROR: pbx CDR StartTime 2025-12-26 08:00:06 - End Time 2025-12-26 11:00:06 [2025-12-26 11:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 11:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448813', 'tblTempUsageDetail_20' ) start [2025-12-26 11:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16448813', 'tblTempUsageDetail_20' ) end [2025-12-26 11:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448813', 'tblTempVendorCDR_20' ) start [2025-12-26 11:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16448813', 'tblTempVendorCDR_20' ) end [2025-12-26 11:00:19] Production.INFO: ProcessCDR(1,16448813,1,1,2) [2025-12-26 11:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16448813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 11:03:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16448813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 11:03:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16448813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 11:07:10] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16448813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 11:07:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448813', 'tblTempUsageDetail_20' ) start [2025-12-26 11:07:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16448813', 'tblTempUsageDetail_20' ) end [2025-12-26 11:07:10] Production.ERROR: pbx prc_insertCDR start [2025-12-26 11:07:11] Production.ERROR: pbx prc_insertCDR end [2025-12-26 11:07:11] Production.INFO: ==2262== Releasing lock... [2025-12-26 11:07:11] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 11:07:11] Production.INFO: 36.25 MB #Memory Used# [2025-12-26 12:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 09:00:06 [end_date_ymd] => 2025-12-26 12:00:06 [RateCDR] => 1 ) [2025-12-26 12: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-26 09:00:06' and `end` < '2025-12-26 12: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 ,'') [2025-12-26 12:00:18] Production.INFO: count ==1514 [2025-12-26 12:00:19] Production.ERROR: pbx CDR StartTime 2025-12-26 09:00:06 - End Time 2025-12-26 12:00:06 [2025-12-26 12:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449060', 'tblTempUsageDetail_20' ) start [2025-12-26 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449060', 'tblTempUsageDetail_20' ) end [2025-12-26 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449060', 'tblTempVendorCDR_20' ) start [2025-12-26 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449060', 'tblTempVendorCDR_20' ) end [2025-12-26 12:00:19] Production.INFO: ProcessCDR(1,16449060,1,1,2) [2025-12-26 12:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16449060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 12:03:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16449060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 12:03:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16449060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 12:07:00] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16449060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 12:07:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449060', 'tblTempUsageDetail_20' ) start [2025-12-26 12:07:00] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449060', 'tblTempUsageDetail_20' ) end [2025-12-26 12:07:00] Production.ERROR: pbx prc_insertCDR start [2025-12-26 12:07:01] Production.ERROR: pbx prc_insertCDR end [2025-12-26 12:07:01] Production.INFO: ==6555== Releasing lock... [2025-12-26 12:07:01] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 12:07:01] Production.INFO: 39.75 MB #Memory Used# [2025-12-26 13:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 10:00:05 [end_date_ymd] => 2025-12-26 13:00:05 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 10:00:05' and `end` < '2025-12-26 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 ,'') [2025-12-26 13:00:19] Production.INFO: count ==2389 [2025-12-26 13:00:20] Production.ERROR: pbx CDR StartTime 2025-12-26 10:00:05 - End Time 2025-12-26 13:00:05 [2025-12-26 13:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 13:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449307', 'tblTempUsageDetail_20' ) start [2025-12-26 13:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449307', 'tblTempUsageDetail_20' ) end [2025-12-26 13:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449307', 'tblTempVendorCDR_20' ) start [2025-12-26 13:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449307', 'tblTempVendorCDR_20' ) end [2025-12-26 13:00:20] Production.INFO: ProcessCDR(1,16449307,1,1,2) [2025-12-26 13:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16449307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 13:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16449307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 13:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16449307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 13:06:55] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16449307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 13:06:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449307', 'tblTempUsageDetail_20' ) start [2025-12-26 13:06:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449307', 'tblTempUsageDetail_20' ) end [2025-12-26 13:06:55] Production.ERROR: pbx prc_insertCDR start [2025-12-26 13:06:56] Production.ERROR: pbx prc_insertCDR end [2025-12-26 13:06:56] Production.INFO: ==11226== Releasing lock... [2025-12-26 13:06:56] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 13:06:56] Production.INFO: 46.75 MB #Memory Used# [2025-12-26 14:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 11:00:05 [end_date_ymd] => 2025-12-26 14:00:05 [RateCDR] => 1 ) [2025-12-26 14: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-26 11:00:05' and `end` < '2025-12-26 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 ,'') [2025-12-26 14:00:19] Production.INFO: count ==3756 [2025-12-26 14:00:21] Production.ERROR: pbx CDR StartTime 2025-12-26 11:00:05 - End Time 2025-12-26 14:00:05 [2025-12-26 14:00:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 14:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449554', 'tblTempUsageDetail_20' ) start [2025-12-26 14:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449554', 'tblTempUsageDetail_20' ) end [2025-12-26 14:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449554', 'tblTempVendorCDR_20' ) start [2025-12-26 14:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449554', 'tblTempVendorCDR_20' ) end [2025-12-26 14:00:21] Production.INFO: ProcessCDR(1,16449554,1,1,2) [2025-12-26 14:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16449554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 14:03:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16449554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 14:03:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16449554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 14:07:11] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16449554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 14:07:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449554', 'tblTempUsageDetail_20' ) start [2025-12-26 14:07:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449554', 'tblTempUsageDetail_20' ) end [2025-12-26 14:07:11] Production.ERROR: pbx prc_insertCDR start [2025-12-26 14:07:12] Production.ERROR: pbx prc_insertCDR end [2025-12-26 14:07:12] Production.INFO: ==15732== Releasing lock... [2025-12-26 14:07:12] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 14:07:12] Production.INFO: 56.25 MB #Memory Used# [2025-12-26 15:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 12:00:05 [end_date_ymd] => 2025-12-26 15:00:05 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 12:00:05' and `end` < '2025-12-26 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 ,'') [2025-12-26 15:00:18] Production.INFO: count ==4996 [2025-12-26 15:00:21] Production.ERROR: pbx CDR StartTime 2025-12-26 12:00:05 - End Time 2025-12-26 15:00:05 [2025-12-26 15:00:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 15:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449801', 'tblTempUsageDetail_20' ) start [2025-12-26 15:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16449801', 'tblTempUsageDetail_20' ) end [2025-12-26 15:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449801', 'tblTempVendorCDR_20' ) start [2025-12-26 15:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16449801', 'tblTempVendorCDR_20' ) end [2025-12-26 15:00:21] Production.INFO: ProcessCDR(1,16449801,1,1,2) [2025-12-26 15:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16449801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 15:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16449801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 15:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16449801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 15:07:03] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16449801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 15:07:03] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449801', 'tblTempUsageDetail_20' ) start [2025-12-26 15:07:04] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16449801', 'tblTempUsageDetail_20' ) end [2025-12-26 15:07:04] Production.ERROR: pbx prc_insertCDR start [2025-12-26 15:07:06] Production.ERROR: pbx prc_insertCDR end [2025-12-26 15:07:06] Production.INFO: ==20299== Releasing lock... [2025-12-26 15:07:06] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 15:07:06] Production.INFO: 65.5 MB #Memory Used# [2025-12-26 16:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 13:00:06 [end_date_ymd] => 2025-12-26 16:00:06 [RateCDR] => 1 ) [2025-12-26 16: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-26 13:00:06' and `end` < '2025-12-26 16: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 ,'') [2025-12-26 16:00:19] Production.INFO: count ==5860 [2025-12-26 16:00:22] Production.ERROR: pbx CDR StartTime 2025-12-26 13:00:06 - End Time 2025-12-26 16:00:06 [2025-12-26 16:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 16:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450048', 'tblTempUsageDetail_20' ) start [2025-12-26 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450048', 'tblTempUsageDetail_20' ) end [2025-12-26 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450048', 'tblTempVendorCDR_20' ) start [2025-12-26 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450048', 'tblTempVendorCDR_20' ) end [2025-12-26 16:00:23] Production.INFO: ProcessCDR(1,16450048,1,1,2) [2025-12-26 16:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16450048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 16:03:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16450048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 16:03:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16450048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 16:07:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16450048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 16:07:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450048', 'tblTempUsageDetail_20' ) start [2025-12-26 16:07:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450048', 'tblTempUsageDetail_20' ) end [2025-12-26 16:07:14] Production.ERROR: pbx prc_insertCDR start [2025-12-26 16:07:16] Production.ERROR: pbx prc_insertCDR end [2025-12-26 16:07:16] Production.INFO: ==24749== Releasing lock... [2025-12-26 16:07:16] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 16:07:16] Production.INFO: 72 MB #Memory Used# [2025-12-26 17:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 14:00:05 [end_date_ymd] => 2025-12-26 17:00:05 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 14:00:05' and `end` < '2025-12-26 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 ,'') [2025-12-26 17:00:19] Production.INFO: count ==5062 [2025-12-26 17:00:22] Production.ERROR: pbx CDR StartTime 2025-12-26 14:00:05 - End Time 2025-12-26 17:00:05 [2025-12-26 17:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450295', 'tblTempUsageDetail_20' ) start [2025-12-26 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450295', 'tblTempUsageDetail_20' ) end [2025-12-26 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450295', 'tblTempVendorCDR_20' ) start [2025-12-26 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450295', 'tblTempVendorCDR_20' ) end [2025-12-26 17:00:22] Production.INFO: ProcessCDR(1,16450295,1,1,2) [2025-12-26 17:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16450295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 17:03:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16450295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 17:03:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16450295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 17:07:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16450295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 17:07:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450295', 'tblTempUsageDetail_20' ) start [2025-12-26 17:07:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450295', 'tblTempUsageDetail_20' ) end [2025-12-26 17:07:18] Production.ERROR: pbx prc_insertCDR start [2025-12-26 17:07:20] Production.ERROR: pbx prc_insertCDR end [2025-12-26 17:07:20] Production.INFO: ==29182== Releasing lock... [2025-12-26 17:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 17:07:20] Production.INFO: 66 MB #Memory Used# [2025-12-26 18:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 15:00:05 [end_date_ymd] => 2025-12-26 18:00:05 [RateCDR] => 1 ) [2025-12-26 18: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` >= '2025-12-26 15:00:05' and `end` < '2025-12-26 18: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 ,'') [2025-12-26 18:00:18] Production.INFO: count ==4824 [2025-12-26 18:00:20] Production.ERROR: pbx CDR StartTime 2025-12-26 15:00:05 - End Time 2025-12-26 18:00:05 [2025-12-26 18:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 18:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450539', 'tblTempUsageDetail_20' ) start [2025-12-26 18:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450539', 'tblTempUsageDetail_20' ) end [2025-12-26 18:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450539', 'tblTempVendorCDR_20' ) start [2025-12-26 18:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450539', 'tblTempVendorCDR_20' ) end [2025-12-26 18:00:20] Production.INFO: ProcessCDR(1,16450539,1,1,2) [2025-12-26 18:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16450539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 18:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16450539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 18:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16450539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 18:06:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16450539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 18:06:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450539', 'tblTempUsageDetail_20' ) start [2025-12-26 18:06:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450539', 'tblTempUsageDetail_20' ) end [2025-12-26 18:06:56] Production.ERROR: pbx prc_insertCDR start [2025-12-26 18:06:57] Production.ERROR: pbx prc_insertCDR end [2025-12-26 18:06:57] Production.INFO: ==1236== Releasing lock... [2025-12-26 18:06:57] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 18:06:57] Production.INFO: 64.25 MB #Memory Used# [2025-12-26 19:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 16:00:05 [end_date_ymd] => 2025-12-26 19:00:05 [RateCDR] => 1 ) [2025-12-26 19: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` >= '2025-12-26 16:00:05' and `end` < '2025-12-26 19: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 ,'') [2025-12-26 19:00:19] Production.INFO: count ==3372 [2025-12-26 19:00:20] Production.ERROR: pbx CDR StartTime 2025-12-26 16:00:05 - End Time 2025-12-26 19:00:05 [2025-12-26 19:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450786', 'tblTempUsageDetail_20' ) start [2025-12-26 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16450786', 'tblTempUsageDetail_20' ) end [2025-12-26 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450786', 'tblTempVendorCDR_20' ) start [2025-12-26 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16450786', 'tblTempVendorCDR_20' ) end [2025-12-26 19:00:20] Production.INFO: ProcessCDR(1,16450786,1,1,2) [2025-12-26 19:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16450786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 19:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16450786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 19:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16450786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 19:06:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16450786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 19:06:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450786', 'tblTempUsageDetail_20' ) start [2025-12-26 19:06:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16450786', 'tblTempUsageDetail_20' ) end [2025-12-26 19:06:56] Production.ERROR: pbx prc_insertCDR start [2025-12-26 19:06:56] Production.ERROR: pbx prc_insertCDR end [2025-12-26 19:06:56] Production.INFO: ==6277== Releasing lock... [2025-12-26 19:06:56] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 19:06:56] Production.INFO: 53.25 MB #Memory Used# [2025-12-26 20:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 17:00:06 [end_date_ymd] => 2025-12-26 20:00:06 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 17:00:06' and `end` < '2025-12-26 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 ,'') [2025-12-26 20:00:18] Production.INFO: count ==2340 [2025-12-26 20:00:19] Production.ERROR: pbx CDR StartTime 2025-12-26 17:00:06 - End Time 2025-12-26 20:00:06 [2025-12-26 20:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451033', 'tblTempUsageDetail_20' ) start [2025-12-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451033', 'tblTempUsageDetail_20' ) end [2025-12-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451033', 'tblTempVendorCDR_20' ) start [2025-12-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451033', 'tblTempVendorCDR_20' ) end [2025-12-26 20:00:19] Production.INFO: ProcessCDR(1,16451033,1,1,2) [2025-12-26 20:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16451033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 20:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16451033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 20:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16451033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 20:06:52] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16451033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 20:06:52] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451033', 'tblTempUsageDetail_20' ) start [2025-12-26 20:06:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451033', 'tblTempUsageDetail_20' ) end [2025-12-26 20:06:53] Production.ERROR: pbx prc_insertCDR start [2025-12-26 20:06:53] Production.ERROR: pbx prc_insertCDR end [2025-12-26 20:06:53] Production.INFO: ==10696== Releasing lock... [2025-12-26 20:06:53] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 20:06:53] Production.INFO: 45.75 MB #Memory Used# [2025-12-26 21:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 18:00:06 [end_date_ymd] => 2025-12-26 21:00:06 [RateCDR] => 1 ) [2025-12-26 21: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-26 18:00:06' and `end` < '2025-12-26 21: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 ,'') [2025-12-26 21:00:18] Production.INFO: count ==3432 [2025-12-26 21:00:19] Production.ERROR: pbx CDR StartTime 2025-12-26 18:00:06 - End Time 2025-12-26 21:00:06 [2025-12-26 21:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451280', 'tblTempUsageDetail_20' ) start [2025-12-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451280', 'tblTempUsageDetail_20' ) end [2025-12-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451280', 'tblTempVendorCDR_20' ) start [2025-12-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451280', 'tblTempVendorCDR_20' ) end [2025-12-26 21:00:19] Production.INFO: ProcessCDR(1,16451280,1,1,2) [2025-12-26 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16451280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 21:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16451280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 21:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16451280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 21:06:48] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16451280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 21:06:48] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451280', 'tblTempUsageDetail_20' ) start [2025-12-26 21:06:48] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451280', 'tblTempUsageDetail_20' ) end [2025-12-26 21:06:48] Production.ERROR: pbx prc_insertCDR start [2025-12-26 21:06:49] Production.ERROR: pbx prc_insertCDR end [2025-12-26 21:06:49] Production.INFO: ==15072== Releasing lock... [2025-12-26 21:06:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 21:06:49] Production.INFO: 53.75 MB #Memory Used# [2025-12-26 22:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 19:00:06 [end_date_ymd] => 2025-12-26 22:00:06 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 19:00:06' and `end` < '2025-12-26 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 ,'') [2025-12-26 22:00:18] Production.INFO: count ==2374 [2025-12-26 22:00:19] Production.ERROR: pbx CDR StartTime 2025-12-26 19:00:06 - End Time 2025-12-26 22:00:06 [2025-12-26 22:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451527', 'tblTempUsageDetail_20' ) start [2025-12-26 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451527', 'tblTempUsageDetail_20' ) end [2025-12-26 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451527', 'tblTempVendorCDR_20' ) start [2025-12-26 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451527', 'tblTempVendorCDR_20' ) end [2025-12-26 22:00:19] Production.INFO: ProcessCDR(1,16451527,1,1,2) [2025-12-26 22:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16451527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 22:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16451527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 22:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16451527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 22:06:58] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16451527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 22:06:58] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451527', 'tblTempUsageDetail_20' ) start [2025-12-26 22:06:58] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451527', 'tblTempUsageDetail_20' ) end [2025-12-26 22:06:58] Production.ERROR: pbx prc_insertCDR start [2025-12-26 22:06:58] Production.ERROR: pbx prc_insertCDR end [2025-12-26 22:06:58] Production.INFO: ==19527== Releasing lock... [2025-12-26 22:06:58] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 22:06:58] Production.INFO: 46 MB #Memory Used# [2025-12-26 23:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-12-26 20:00:06 [end_date_ymd] => 2025-12-26 23:00:06 [RateCDR] => 1 ) [2025-12-26 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` >= '2025-12-26 20:00:06' and `end` < '2025-12-26 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 ,'') [2025-12-26 23:00:19] Production.INFO: count ==2020 [2025-12-26 23:00:19] Production.ERROR: pbx CDR StartTime 2025-12-26 20:00:06 - End Time 2025-12-26 23:00:06 [2025-12-26 23:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-12-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451774', 'tblTempUsageDetail_20' ) start [2025-12-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16451774', 'tblTempUsageDetail_20' ) end [2025-12-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451774', 'tblTempVendorCDR_20' ) start [2025-12-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16451774', 'tblTempVendorCDR_20' ) end [2025-12-26 23:00:19] Production.INFO: ProcessCDR(1,16451774,1,1,2) [2025-12-26 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16451774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 23:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16451774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-12-26 23:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16451774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 23:06:54] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16451774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-12-26 23:06:54] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451774', 'tblTempUsageDetail_20' ) start [2025-12-26 23:06:54] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16451774', 'tblTempUsageDetail_20' ) end [2025-12-26 23:06:54] Production.ERROR: pbx prc_insertCDR start [2025-12-26 23:06:54] Production.ERROR: pbx prc_insertCDR end [2025-12-26 23:06:54] Production.INFO: ==24767== Releasing lock... [2025-12-26 23:06:54] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-12-26 23:06:54] Production.INFO: 43.5 MB #Memory Used#