[2026-01-25 00:02:04] Production.INFO: next invoice date [2026-01-25 00:02:04] Production.INFO: 2026-02-25 [2026-01-25 00:02:04] Production.INFO: getdaysdiff [2026-01-25 00:02:04] Production.INFO: +31 [2026-01-25 00:02:04] Production.INFO: call prc_setAccountDiscountPlan (111,11,1,31,31,'RMScheduler',2026-01-25 00:02:04,1,0,,,0) [2026-01-25 00:02:04] Production.INFO: next invoice date [2026-01-25 00:02:04] Production.INFO: 2026-02-25 [2026-01-25 00:02:04] Production.INFO: getdaysdiff [2026-01-25 00:02:04] Production.INFO: +31 [2026-01-25 00:02:04] Production.INFO: call prc_setAccountDiscountPlan (110,11,1,31,31,'RMScheduler',2026-01-25 00:02:04,1,0,,,0) [2026-01-25 00:02:04] Production.INFO: next invoice date [2026-01-25 00:02:04] Production.INFO: 2026-02-08 [2026-01-25 00:02:04] Production.INFO: getdaysdiff [2026-01-25 00:02:04] Production.INFO: +14 [2026-01-25 00:02:04] Production.INFO: call prc_setAccountDiscountPlan (241,16,1,31,14,'RMScheduler',2026-01-25 00:02:04,1,0,,,0) [2026-01-25 00:02:04] Production.INFO: next invoice date [2026-01-25 00:02:04] Production.INFO: 2026-02-08 [2026-01-25 00:02:04] Production.INFO: getdaysdiff [2026-01-25 00:02:04] Production.INFO: +14 [2026-01-25 00:02:04] Production.INFO: call prc_setAccountDiscountPlan (241,13,2,31,14,'RMScheduler',2026-01-25 00:02:04,1,0,,,0) [2026-01-25 00:02:04] Production.INFO: next invoice date [2026-01-25 00:02:04] Production.INFO: 2026-02-08 [2026-01-25 00:02:04] Production.INFO: getdaysdiff [2026-01-25 00:02:04] Production.INFO: +14 [2026-01-25 00:02:04] Production.INFO: call prc_setAccountDiscountPlan (241,16,1,31,14,'RMScheduler',2026-01-25 00:02:04,0,0,,,0) [2026-01-25 00:02:05] Production.INFO: next invoice date [2026-01-25 00:02:05] Production.INFO: 2026-02-08 [2026-01-25 00:02:05] Production.INFO: getdaysdiff [2026-01-25 00:02:05] Production.INFO: +14 [2026-01-25 00:02:05] Production.INFO: call prc_setAccountDiscountPlan (241,13,2,31,14,'RMScheduler',2026-01-25 00:02:04,0,0,,,0) [2026-01-25 00:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-24 21:02:06 [end_date_ymd] => 2026-01-25 00:02:06 [RateCDR] => 1 ) [2026-01-25 00:02: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-24 21:02:06' and `end` < '2026-01-25 00:02: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-25 00:02:33] Production.INFO: count ==1007 [2026-01-25 00:02:33] Production.ERROR: pbx CDR StartTime 2026-01-24 21:02:06 - End Time 2026-01-25 00:02:06 [2026-01-25 00:02:33] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 00:02:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16623941', 'tblTempUsageDetail_20' ) start [2026-01-25 00:02:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16623941', 'tblTempUsageDetail_20' ) end [2026-01-25 00:02:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16623941', 'tblTempVendorCDR_20' ) start [2026-01-25 00:02:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16623941', 'tblTempVendorCDR_20' ) end [2026-01-25 00:02:33] Production.INFO: ProcessCDR(1,16623941,1,1,2) [2026-01-25 00:02:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16623941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 00:05:52] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16623941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 00:05:52] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16623941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 00:09:52] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16623941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 00:09:52] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16623941', 'tblTempUsageDetail_20' ) start [2026-01-25 00:09:52] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16623941', 'tblTempUsageDetail_20' ) end [2026-01-25 00:09:52] Production.ERROR: pbx prc_insertCDR start [2026-01-25 00:09:52] Production.ERROR: pbx prc_insertCDR end [2026-01-25 00:09:54] Production.INFO: ==11118== Releasing lock... [2026-01-25 00:09:54] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 00:09:54] Production.INFO: 38 MB #Memory Used# [2026-01-25 01:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-24 22:02:06 [end_date_ymd] => 2026-01-25 01:02:06 [RateCDR] => 1 ) [2026-01-25 01:02: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-24 22:02:06' and `end` < '2026-01-25 01:02: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-25 01:02:18] Production.INFO: count ==949 [2026-01-25 01:02:18] Production.ERROR: pbx CDR StartTime 2026-01-24 22:02:06 - End Time 2026-01-25 01:02:06 [2026-01-25 01:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624188', 'tblTempUsageDetail_20' ) start [2026-01-25 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624188', 'tblTempUsageDetail_20' ) end [2026-01-25 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624188', 'tblTempVendorCDR_20' ) start [2026-01-25 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624188', 'tblTempVendorCDR_20' ) end [2026-01-25 01:02:18] Production.INFO: ProcessCDR(1,16624188,1,1,2) [2026-01-25 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16624188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 01:05:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16624188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 01:05:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16624188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 01:09:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16624188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 01:09:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624188', 'tblTempUsageDetail_20' ) start [2026-01-25 01:09:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624188', 'tblTempUsageDetail_20' ) end [2026-01-25 01:09:50] Production.ERROR: pbx prc_insertCDR start [2026-01-25 01:09:50] Production.ERROR: pbx prc_insertCDR end [2026-01-25 01:09:50] Production.INFO: ==15526== Releasing lock... [2026-01-25 01:09:50] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 01:09:50] Production.INFO: 36.5 MB #Memory Used# [2026-01-25 02:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-24 23:02:05 [end_date_ymd] => 2026-01-25 02:02:05 [RateCDR] => 1 ) [2026-01-25 02:02: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-24 23:02:05' and `end` < '2026-01-25 02:02: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-25 02:02:18] Production.INFO: count ==924 [2026-01-25 02:02:19] Production.ERROR: pbx CDR StartTime 2026-01-24 23:02:05 - End Time 2026-01-25 02:02:05 [2026-01-25 02:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624435', 'tblTempUsageDetail_20' ) start [2026-01-25 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624435', 'tblTempUsageDetail_20' ) end [2026-01-25 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624435', 'tblTempVendorCDR_20' ) start [2026-01-25 02:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624435', 'tblTempVendorCDR_20' ) end [2026-01-25 02:02:19] Production.INFO: ProcessCDR(1,16624435,1,1,2) [2026-01-25 02:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16624435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 02:05:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16624435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 02:05:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16624435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 02:09:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16624435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 02:09:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624435', 'tblTempUsageDetail_20' ) start [2026-01-25 02:09:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624435', 'tblTempUsageDetail_20' ) end [2026-01-25 02:09:36] Production.ERROR: pbx prc_insertCDR start [2026-01-25 02:09:36] Production.ERROR: pbx prc_insertCDR end [2026-01-25 02:09:36] Production.INFO: ==20265== Releasing lock... [2026-01-25 02:09:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 02:09:36] Production.INFO: 35.25 MB #Memory Used# [2026-01-25 03:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 00:02:06 [end_date_ymd] => 2026-01-25 03:02:06 [RateCDR] => 1 ) [2026-01-25 03:02: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-25 00:02:06' and `end` < '2026-01-25 03:02: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-25 03:02:19] Production.INFO: count ==1021 [2026-01-25 03:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 00:02:06 - End Time 2026-01-25 03:02:06 [2026-01-25 03:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624682', 'tblTempUsageDetail_20' ) start [2026-01-25 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624682', 'tblTempUsageDetail_20' ) end [2026-01-25 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624682', 'tblTempVendorCDR_20' ) start [2026-01-25 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624682', 'tblTempVendorCDR_20' ) end [2026-01-25 03:02:19] Production.INFO: ProcessCDR(1,16624682,1,1,2) [2026-01-25 03:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16624682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 03:05:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16624682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 03:05:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16624682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 03:09:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16624682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 03:09:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624682', 'tblTempUsageDetail_20' ) start [2026-01-25 03:09:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624682', 'tblTempUsageDetail_20' ) end [2026-01-25 03:09:43] Production.ERROR: pbx prc_insertCDR start [2026-01-25 03:09:43] Production.ERROR: pbx prc_insertCDR end [2026-01-25 03:09:43] Production.INFO: ==24927== Releasing lock... [2026-01-25 03:09:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 03:09:43] Production.INFO: 36.25 MB #Memory Used# [2026-01-25 04:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 01:02:05 [end_date_ymd] => 2026-01-25 04:02:05 [RateCDR] => 1 ) [2026-01-25 04:02: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-25 01:02:05' and `end` < '2026-01-25 04:02: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-25 04:02:18] Production.INFO: count ==989 [2026-01-25 04:02:18] Production.ERROR: pbx CDR StartTime 2026-01-25 01:02:05 - End Time 2026-01-25 04:02:05 [2026-01-25 04:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624930', 'tblTempUsageDetail_20' ) start [2026-01-25 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16624930', 'tblTempUsageDetail_20' ) end [2026-01-25 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624930', 'tblTempVendorCDR_20' ) start [2026-01-25 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16624930', 'tblTempVendorCDR_20' ) end [2026-01-25 04:02:18] Production.INFO: ProcessCDR(1,16624930,1,1,2) [2026-01-25 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16624930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 04:05:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16624930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 04:05:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16624930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 04:09:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16624930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 04:09:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624930', 'tblTempUsageDetail_20' ) start [2026-01-25 04:09:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16624930', 'tblTempUsageDetail_20' ) end [2026-01-25 04:09:37] Production.ERROR: pbx prc_insertCDR start [2026-01-25 04:09:37] Production.ERROR: pbx prc_insertCDR end [2026-01-25 04:09:37] Production.INFO: ==29340== Releasing lock... [2026-01-25 04:09:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 04:09:37] Production.INFO: 35.75 MB #Memory Used# [2026-01-25 05:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 02:02:05 [end_date_ymd] => 2026-01-25 05:02:05 [RateCDR] => 1 ) [2026-01-25 05:02: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-25 02:02:05' and `end` < '2026-01-25 05:02: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-25 05:02:18] Production.INFO: count ==751 [2026-01-25 05:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 02:02:05 - End Time 2026-01-25 05:02:05 [2026-01-25 05:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625178', 'tblTempUsageDetail_20' ) start [2026-01-25 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625178', 'tblTempUsageDetail_20' ) end [2026-01-25 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625178', 'tblTempVendorCDR_20' ) start [2026-01-25 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625178', 'tblTempVendorCDR_20' ) end [2026-01-25 05:02:19] Production.INFO: ProcessCDR(1,16625178,1,1,2) [2026-01-25 05:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16625178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 05:05:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16625178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 05:05:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16625178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 05:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16625178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 05:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625178', 'tblTempUsageDetail_20' ) start [2026-01-25 05:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625178', 'tblTempUsageDetail_20' ) end [2026-01-25 05:09:26] Production.ERROR: pbx prc_insertCDR start [2026-01-25 05:09:27] Production.ERROR: pbx prc_insertCDR end [2026-01-25 05:09:27] Production.INFO: ==1382== Releasing lock... [2026-01-25 05:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 05:09:27] Production.INFO: 33.5 MB #Memory Used# [2026-01-25 06:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 03:02:05 [end_date_ymd] => 2026-01-25 06:02:05 [RateCDR] => 1 ) [2026-01-25 06:02: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-25 03:02:05' and `end` < '2026-01-25 06:02: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-25 06:02:18] Production.INFO: count ==413 [2026-01-25 06:02:18] Production.ERROR: pbx CDR StartTime 2026-01-25 03:02:05 - End Time 2026-01-25 06:02:05 [2026-01-25 06:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625425', 'tblTempUsageDetail_20' ) start [2026-01-25 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625425', 'tblTempUsageDetail_20' ) end [2026-01-25 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625425', 'tblTempVendorCDR_20' ) start [2026-01-25 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625425', 'tblTempVendorCDR_20' ) end [2026-01-25 06:02:18] Production.INFO: ProcessCDR(1,16625425,1,1,2) [2026-01-25 06:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16625425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 06:04:56] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16625425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 06:04:56] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16625425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 06:08:59] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16625425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 06:08:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625425', 'tblTempUsageDetail_20' ) start [2026-01-25 06:08:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625425', 'tblTempUsageDetail_20' ) end [2026-01-25 06:08:59] Production.ERROR: pbx prc_insertCDR start [2026-01-25 06:08:59] Production.ERROR: pbx prc_insertCDR end [2026-01-25 06:08:59] Production.INFO: ==7024== Releasing lock... [2026-01-25 06:08:59] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 06:08:59] Production.INFO: 31.75 MB #Memory Used# [2026-01-25 07:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 04:02:06 [end_date_ymd] => 2026-01-25 07:02:06 [RateCDR] => 1 ) [2026-01-25 07:02: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-25 04:02:06' and `end` < '2026-01-25 07:02: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-25 07:02:18] Production.INFO: count ==152 [2026-01-25 07:02:18] Production.ERROR: pbx CDR StartTime 2026-01-25 04:02:06 - End Time 2026-01-25 07:02:06 [2026-01-25 07:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625672', 'tblTempUsageDetail_20' ) start [2026-01-25 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625672', 'tblTempUsageDetail_20' ) end [2026-01-25 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625672', 'tblTempVendorCDR_20' ) start [2026-01-25 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625672', 'tblTempVendorCDR_20' ) end [2026-01-25 07:02:18] Production.INFO: ProcessCDR(1,16625672,1,1,2) [2026-01-25 07:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16625672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 07:05:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16625672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 07:05:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16625672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 07:09:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16625672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 07:09:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625672', 'tblTempUsageDetail_20' ) start [2026-01-25 07:09:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625672', 'tblTempUsageDetail_20' ) end [2026-01-25 07:09:47] Production.ERROR: pbx prc_insertCDR start [2026-01-25 07:09:47] Production.ERROR: pbx prc_insertCDR end [2026-01-25 07:09:47] Production.INFO: ==12481== Releasing lock... [2026-01-25 07:09:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 07:09:47] Production.INFO: 29.5 MB #Memory Used# [2026-01-25 08:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 05:02:05 [end_date_ymd] => 2026-01-25 08:02:05 [RateCDR] => 1 ) [2026-01-25 08:02: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-25 05:02:05' and `end` < '2026-01-25 08:02: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-25 08:02:17] Production.INFO: count ==135 [2026-01-25 08:02:17] Production.ERROR: pbx CDR StartTime 2026-01-25 05:02:05 - End Time 2026-01-25 08:02:05 [2026-01-25 08:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625919', 'tblTempUsageDetail_20' ) start [2026-01-25 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16625919', 'tblTempUsageDetail_20' ) end [2026-01-25 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625919', 'tblTempVendorCDR_20' ) start [2026-01-25 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16625919', 'tblTempVendorCDR_20' ) end [2026-01-25 08:02:17] Production.INFO: ProcessCDR(1,16625919,1,1,2) [2026-01-25 08:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16625919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 08:05:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16625919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 08:05:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16625919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 08:09:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16625919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 08:09:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625919', 'tblTempUsageDetail_20' ) start [2026-01-25 08:09:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16625919', 'tblTempUsageDetail_20' ) end [2026-01-25 08:09:38] Production.ERROR: pbx prc_insertCDR start [2026-01-25 08:09:38] Production.ERROR: pbx prc_insertCDR end [2026-01-25 08:09:38] Production.INFO: ==17285== Releasing lock... [2026-01-25 08:09:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 08:09:38] Production.INFO: 29 MB #Memory Used# [2026-01-25 09:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 06:02:05 [end_date_ymd] => 2026-01-25 09:02:05 [RateCDR] => 1 ) [2026-01-25 09:02: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-25 06:02:05' and `end` < '2026-01-25 09:02: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-25 09:02:17] Production.INFO: count ==182 [2026-01-25 09:02:17] Production.ERROR: pbx CDR StartTime 2026-01-25 06:02:05 - End Time 2026-01-25 09:02:05 [2026-01-25 09:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626166', 'tblTempUsageDetail_20' ) start [2026-01-25 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626166', 'tblTempUsageDetail_20' ) end [2026-01-25 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626166', 'tblTempVendorCDR_20' ) start [2026-01-25 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626166', 'tblTempVendorCDR_20' ) end [2026-01-25 09:02:17] Production.INFO: ProcessCDR(1,16626166,1,1,2) [2026-01-25 09:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16626166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 09:05:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16626166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 09:05:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16626166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 09:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16626166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 09:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626166', 'tblTempUsageDetail_20' ) start [2026-01-25 09:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626166', 'tblTempUsageDetail_20' ) end [2026-01-25 09:09:22] Production.ERROR: pbx prc_insertCDR start [2026-01-25 09:09:22] Production.ERROR: pbx prc_insertCDR end [2026-01-25 09:09:23] Production.INFO: ==21981== Releasing lock... [2026-01-25 09:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 09:09:23] Production.INFO: 29.75 MB #Memory Used# [2026-01-25 10:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 07:02:05 [end_date_ymd] => 2026-01-25 10:02:05 [RateCDR] => 1 ) [2026-01-25 10:02: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-25 07:02:05' and `end` < '2026-01-25 10:02: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-25 10:02:17] Production.INFO: count ==228 [2026-01-25 10:02:17] Production.ERROR: pbx CDR StartTime 2026-01-25 07:02:05 - End Time 2026-01-25 10:02:05 [2026-01-25 10:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 10:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626413', 'tblTempUsageDetail_20' ) start [2026-01-25 10:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626413', 'tblTempUsageDetail_20' ) end [2026-01-25 10:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626413', 'tblTempVendorCDR_20' ) start [2026-01-25 10:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626413', 'tblTempVendorCDR_20' ) end [2026-01-25 10:02:17] Production.INFO: ProcessCDR(1,16626413,1,1,2) [2026-01-25 10:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16626413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 10:05:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16626413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 10:05:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16626413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 10:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16626413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 10:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626413', 'tblTempUsageDetail_20' ) start [2026-01-25 10:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626413', 'tblTempUsageDetail_20' ) end [2026-01-25 10:09:25] Production.ERROR: pbx prc_insertCDR start [2026-01-25 10:09:25] Production.ERROR: pbx prc_insertCDR end [2026-01-25 10:09:25] Production.INFO: ==26474== Releasing lock... [2026-01-25 10:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 10:09:25] Production.INFO: 30 MB #Memory Used# [2026-01-25 11:02:04] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 08:02:04 [end_date_ymd] => 2026-01-25 11:02:04 [RateCDR] => 1 ) [2026-01-25 11:02:04] 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-25 08:02:04' and `end` < '2026-01-25 11:02:04' 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-25 11:02:17] Production.INFO: count ==387 [2026-01-25 11:02:17] Production.ERROR: pbx CDR StartTime 2026-01-25 08:02:04 - End Time 2026-01-25 11:02:04 [2026-01-25 11:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626660', 'tblTempUsageDetail_20' ) start [2026-01-25 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626660', 'tblTempUsageDetail_20' ) end [2026-01-25 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626660', 'tblTempVendorCDR_20' ) start [2026-01-25 11:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626660', 'tblTempVendorCDR_20' ) end [2026-01-25 11:02:17] Production.INFO: ProcessCDR(1,16626660,1,1,2) [2026-01-25 11:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16626660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 11:05:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16626660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 11:05:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16626660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 11:09:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16626660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 11:09:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626660', 'tblTempUsageDetail_20' ) start [2026-01-25 11:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626660', 'tblTempUsageDetail_20' ) end [2026-01-25 11:09:20] Production.ERROR: pbx prc_insertCDR start [2026-01-25 11:09:20] Production.ERROR: pbx prc_insertCDR end [2026-01-25 11:09:20] Production.INFO: ==679== Releasing lock... [2026-01-25 11:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 11:09:20] Production.INFO: 31.5 MB #Memory Used# [2026-01-25 12:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 09:02:05 [end_date_ymd] => 2026-01-25 12:02:05 [RateCDR] => 1 ) [2026-01-25 12:02: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-25 09:02:05' and `end` < '2026-01-25 12:02: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-25 12:02:18] Production.INFO: count ==702 [2026-01-25 12:02:18] Production.ERROR: pbx CDR StartTime 2026-01-25 09:02:05 - End Time 2026-01-25 12:02:05 [2026-01-25 12:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626907', 'tblTempUsageDetail_20' ) start [2026-01-25 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16626907', 'tblTempUsageDetail_20' ) end [2026-01-25 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626907', 'tblTempVendorCDR_20' ) start [2026-01-25 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16626907', 'tblTempVendorCDR_20' ) end [2026-01-25 12:02:18] Production.INFO: ProcessCDR(1,16626907,1,1,2) [2026-01-25 12:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16626907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 12:05:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16626907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 12:05:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16626907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 12:09:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16626907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 12:09:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626907', 'tblTempUsageDetail_20' ) start [2026-01-25 12:09:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16626907', 'tblTempUsageDetail_20' ) end [2026-01-25 12:09:35] Production.ERROR: pbx prc_insertCDR start [2026-01-25 12:09:36] Production.ERROR: pbx prc_insertCDR end [2026-01-25 12:09:36] Production.INFO: ==5679== Releasing lock... [2026-01-25 12:09:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 12:09:36] Production.INFO: 34 MB #Memory Used# [2026-01-25 13:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 10:02:05 [end_date_ymd] => 2026-01-25 13:02:05 [RateCDR] => 1 ) [2026-01-25 13:02: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-25 10:02:05' and `end` < '2026-01-25 13:02: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-25 13:02:19] Production.INFO: count ==1006 [2026-01-25 13:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 10:02:05 - End Time 2026-01-25 13:02:05 [2026-01-25 13:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627154', 'tblTempUsageDetail_20' ) start [2026-01-25 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627154', 'tblTempUsageDetail_20' ) end [2026-01-25 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627154', 'tblTempVendorCDR_20' ) start [2026-01-25 13:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627154', 'tblTempVendorCDR_20' ) end [2026-01-25 13:02:19] Production.INFO: ProcessCDR(1,16627154,1,1,2) [2026-01-25 13:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16627154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 13:05:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16627154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 13:05:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16627154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 13:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16627154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 13:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627154', 'tblTempUsageDetail_20' ) start [2026-01-25 13:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627154', 'tblTempUsageDetail_20' ) end [2026-01-25 13:09:20] Production.ERROR: pbx prc_insertCDR start [2026-01-25 13:09:21] Production.ERROR: pbx prc_insertCDR end [2026-01-25 13:09:21] Production.INFO: ==10214== Releasing lock... [2026-01-25 13:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 13:09:21] Production.INFO: 36.25 MB #Memory Used# [2026-01-25 14:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 11:02:05 [end_date_ymd] => 2026-01-25 14:02:05 [RateCDR] => 1 ) [2026-01-25 14:02: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-25 11:02:05' and `end` < '2026-01-25 14:02: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-25 14:02:18] Production.INFO: count ==1212 [2026-01-25 14:02:18] Production.ERROR: pbx CDR StartTime 2026-01-25 11:02:05 - End Time 2026-01-25 14:02:05 [2026-01-25 14:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627401', 'tblTempUsageDetail_20' ) start [2026-01-25 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627401', 'tblTempUsageDetail_20' ) end [2026-01-25 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627401', 'tblTempVendorCDR_20' ) start [2026-01-25 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627401', 'tblTempVendorCDR_20' ) end [2026-01-25 14:02:18] Production.INFO: ProcessCDR(1,16627401,1,1,2) [2026-01-25 14:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16627401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 14:05:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16627401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 14:05:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16627401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 14:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16627401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 14:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627401', 'tblTempUsageDetail_20' ) start [2026-01-25 14:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627401', 'tblTempUsageDetail_20' ) end [2026-01-25 14:09:27] Production.ERROR: pbx prc_insertCDR start [2026-01-25 14:09:27] Production.ERROR: pbx prc_insertCDR end [2026-01-25 14:09:27] Production.INFO: ==15062== Releasing lock... [2026-01-25 14:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 14:09:27] Production.INFO: 38 MB #Memory Used# [2026-01-25 15:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 12:02:06 [end_date_ymd] => 2026-01-25 15:02:06 [RateCDR] => 1 ) [2026-01-25 15:02: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-25 12:02:06' and `end` < '2026-01-25 15:02: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-25 15:02:18] Production.INFO: count ==1253 [2026-01-25 15:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 12:02:06 - End Time 2026-01-25 15:02:06 [2026-01-25 15:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627648', 'tblTempUsageDetail_20' ) start [2026-01-25 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627648', 'tblTempUsageDetail_20' ) end [2026-01-25 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627648', 'tblTempVendorCDR_20' ) start [2026-01-25 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627648', 'tblTempVendorCDR_20' ) end [2026-01-25 15:02:19] Production.INFO: ProcessCDR(1,16627648,1,1,2) [2026-01-25 15:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16627648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 15:05:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16627648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 15:05:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16627648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 15:09:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16627648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 15:09:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627648', 'tblTempUsageDetail_20' ) start [2026-01-25 15:09:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627648', 'tblTempUsageDetail_20' ) end [2026-01-25 15:09:40] Production.ERROR: pbx prc_insertCDR start [2026-01-25 15:09:40] Production.ERROR: pbx prc_insertCDR end [2026-01-25 15:09:40] Production.INFO: ==19679== Releasing lock... [2026-01-25 15:09:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 15:09:40] Production.INFO: 38 MB #Memory Used# [2026-01-25 16:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 13:02:05 [end_date_ymd] => 2026-01-25 16:02:05 [RateCDR] => 1 ) [2026-01-25 16:02: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-25 13:02:05' and `end` < '2026-01-25 16:02: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-25 16:02:18] Production.INFO: count ==1169 [2026-01-25 16:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 13:02:05 - End Time 2026-01-25 16:02:05 [2026-01-25 16:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627895', 'tblTempUsageDetail_20' ) start [2026-01-25 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16627895', 'tblTempUsageDetail_20' ) end [2026-01-25 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627895', 'tblTempVendorCDR_20' ) start [2026-01-25 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16627895', 'tblTempVendorCDR_20' ) end [2026-01-25 16:02:19] Production.INFO: ProcessCDR(1,16627895,1,1,2) [2026-01-25 16:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16627895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 16:05:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16627895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 16:05:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16627895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 16:09:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16627895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 16:09:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627895', 'tblTempUsageDetail_20' ) start [2026-01-25 16:09:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16627895', 'tblTempUsageDetail_20' ) end [2026-01-25 16:09:35] Production.ERROR: pbx prc_insertCDR start [2026-01-25 16:09:36] Production.ERROR: pbx prc_insertCDR end [2026-01-25 16:09:36] Production.INFO: ==25195== Releasing lock... [2026-01-25 16:09:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 16:09:36] Production.INFO: 37.25 MB #Memory Used# [2026-01-25 17:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 14:02:06 [end_date_ymd] => 2026-01-25 17:02:06 [RateCDR] => 1 ) [2026-01-25 17:02: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-25 14:02:06' and `end` < '2026-01-25 17:02: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-25 17:02:18] Production.INFO: count ==1285 [2026-01-25 17:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 14:02:06 - End Time 2026-01-25 17:02:06 [2026-01-25 17:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 17:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628142', 'tblTempUsageDetail_20' ) start [2026-01-25 17:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628142', 'tblTempUsageDetail_20' ) end [2026-01-25 17:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628142', 'tblTempVendorCDR_20' ) start [2026-01-25 17:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628142', 'tblTempVendorCDR_20' ) end [2026-01-25 17:02:19] Production.INFO: ProcessCDR(1,16628142,1,1,2) [2026-01-25 17:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16628142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 17:05:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16628142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 17:05:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16628142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 17:09:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16628142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 17:09:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628142', 'tblTempUsageDetail_20' ) start [2026-01-25 17:09:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628142', 'tblTempUsageDetail_20' ) end [2026-01-25 17:09:47] Production.ERROR: pbx prc_insertCDR start [2026-01-25 17:09:47] Production.ERROR: pbx prc_insertCDR end [2026-01-25 17:09:47] Production.INFO: ==29744== Releasing lock... [2026-01-25 17:09:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 17:09:47] Production.INFO: 38 MB #Memory Used# [2026-01-25 18:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 15:02:05 [end_date_ymd] => 2026-01-25 18:02:05 [RateCDR] => 1 ) [2026-01-25 18:02: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-25 15:02:05' and `end` < '2026-01-25 18:02: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-25 18:02:18] Production.INFO: count ==1479 [2026-01-25 18:02:18] Production.ERROR: pbx CDR StartTime 2026-01-25 15:02:05 - End Time 2026-01-25 18:02:05 [2026-01-25 18:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 18:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628385', 'tblTempUsageDetail_20' ) start [2026-01-25 18:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628385', 'tblTempUsageDetail_20' ) end [2026-01-25 18:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628385', 'tblTempVendorCDR_20' ) start [2026-01-25 18:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628385', 'tblTempVendorCDR_20' ) end [2026-01-25 18:02:19] Production.INFO: ProcessCDR(1,16628385,1,1,2) [2026-01-25 18:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16628385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 18:05:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16628385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 18:05:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16628385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 18:09:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16628385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 18:09:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628385', 'tblTempUsageDetail_20' ) start [2026-01-25 18:09:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628385', 'tblTempUsageDetail_20' ) end [2026-01-25 18:09:50] Production.ERROR: pbx prc_insertCDR start [2026-01-25 18:09:51] Production.ERROR: pbx prc_insertCDR end [2026-01-25 18:09:51] Production.INFO: ==1885== Releasing lock... [2026-01-25 18:09:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 18:09:51] Production.INFO: 39.25 MB #Memory Used# [2026-01-25 19:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 16:02:05 [end_date_ymd] => 2026-01-25 19:02:05 [RateCDR] => 1 ) [2026-01-25 19:02: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-25 16:02:05' and `end` < '2026-01-25 19:02: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-25 19:02:18] Production.INFO: count ==1783 [2026-01-25 19:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 16:02:05 - End Time 2026-01-25 19:02:05 [2026-01-25 19:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628632', 'tblTempUsageDetail_20' ) start [2026-01-25 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628632', 'tblTempUsageDetail_20' ) end [2026-01-25 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628632', 'tblTempVendorCDR_20' ) start [2026-01-25 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628632', 'tblTempVendorCDR_20' ) end [2026-01-25 19:02:19] Production.INFO: ProcessCDR(1,16628632,1,1,2) [2026-01-25 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16628632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 19:05:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16628632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 19:05:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16628632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 19:09:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16628632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 19:09:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628632', 'tblTempUsageDetail_20' ) start [2026-01-25 19:09:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628632', 'tblTempUsageDetail_20' ) end [2026-01-25 19:09:31] Production.ERROR: pbx prc_insertCDR start [2026-01-25 19:09:32] Production.ERROR: pbx prc_insertCDR end [2026-01-25 19:09:32] Production.INFO: ==6625== Releasing lock... [2026-01-25 19:09:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 19:09:32] Production.INFO: 41.5 MB #Memory Used# [2026-01-25 20:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 17:02:05 [end_date_ymd] => 2026-01-25 20:02:05 [RateCDR] => 1 ) [2026-01-25 20:02: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-25 17:02:05' and `end` < '2026-01-25 20:02: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-25 20:02:18] Production.INFO: count ==1900 [2026-01-25 20:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 17:02:05 - End Time 2026-01-25 20:02:05 [2026-01-25 20:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628879', 'tblTempUsageDetail_20' ) start [2026-01-25 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16628879', 'tblTempUsageDetail_20' ) end [2026-01-25 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628879', 'tblTempVendorCDR_20' ) start [2026-01-25 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16628879', 'tblTempVendorCDR_20' ) end [2026-01-25 20:02:19] Production.INFO: ProcessCDR(1,16628879,1,1,2) [2026-01-25 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16628879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 20:05:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16628879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 20:05:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16628879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 20:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16628879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 20:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628879', 'tblTempUsageDetail_20' ) start [2026-01-25 20:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16628879', 'tblTempUsageDetail_20' ) end [2026-01-25 20:09:28] Production.ERROR: pbx prc_insertCDR start [2026-01-25 20:09:28] Production.ERROR: pbx prc_insertCDR end [2026-01-25 20:09:28] Production.INFO: ==11575== Releasing lock... [2026-01-25 20:09:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 20:09:28] Production.INFO: 42.5 MB #Memory Used# [2026-01-25 21:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 18:02:05 [end_date_ymd] => 2026-01-25 21:02:05 [RateCDR] => 1 ) [2026-01-25 21:02: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-25 18:02:05' and `end` < '2026-01-25 21:02: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-25 21:02:18] Production.INFO: count ==1814 [2026-01-25 21:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 18:02:05 - End Time 2026-01-25 21:02:05 [2026-01-25 21:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16629126', 'tblTempUsageDetail_20' ) start [2026-01-25 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16629126', 'tblTempUsageDetail_20' ) end [2026-01-25 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16629126', 'tblTempVendorCDR_20' ) start [2026-01-25 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16629126', 'tblTempVendorCDR_20' ) end [2026-01-25 21:02:19] Production.INFO: ProcessCDR(1,16629126,1,1,2) [2026-01-25 21:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16629126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 21:05:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16629126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 21:05:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16629126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 21:09:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16629126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 21:09:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16629126', 'tblTempUsageDetail_20' ) start [2026-01-25 21:09:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16629126', 'tblTempUsageDetail_20' ) end [2026-01-25 21:09:42] Production.ERROR: pbx prc_insertCDR start [2026-01-25 21:09:43] Production.ERROR: pbx prc_insertCDR end [2026-01-25 21:09:43] Production.INFO: ==16545== Releasing lock... [2026-01-25 21:09:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 21:09:43] Production.INFO: 42 MB #Memory Used# [2026-01-25 22:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 19:02:05 [end_date_ymd] => 2026-01-25 22:02:05 [RateCDR] => 1 ) [2026-01-25 22:02: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-25 19:02:05' and `end` < '2026-01-25 22:02: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-25 22:02:17] Production.INFO: count ==1638 [2026-01-25 22:02:18] Production.ERROR: pbx CDR StartTime 2026-01-25 19:02:05 - End Time 2026-01-25 22:02:05 [2026-01-25 22:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16629373', 'tblTempUsageDetail_20' ) start [2026-01-25 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16629373', 'tblTempUsageDetail_20' ) end [2026-01-25 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16629373', 'tblTempVendorCDR_20' ) start [2026-01-25 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16629373', 'tblTempVendorCDR_20' ) end [2026-01-25 22:02:18] Production.INFO: ProcessCDR(1,16629373,1,1,2) [2026-01-25 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16629373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 22:05:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16629373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 22:05:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16629373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 22:09:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16629373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 22:09:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16629373', 'tblTempUsageDetail_20' ) start [2026-01-25 22:09:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16629373', 'tblTempUsageDetail_20' ) end [2026-01-25 22:09:43] Production.ERROR: pbx prc_insertCDR start [2026-01-25 22:09:44] Production.ERROR: pbx prc_insertCDR end [2026-01-25 22:09:44] Production.INFO: ==22221== Releasing lock... [2026-01-25 22:09:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 22:09:44] Production.INFO: 40.5 MB #Memory Used# [2026-01-25 23:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-25 20:02:06 [end_date_ymd] => 2026-01-25 23:02:06 [RateCDR] => 1 ) [2026-01-25 23:02: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-25 20:02:06' and `end` < '2026-01-25 23:02: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-25 23:02:18] Production.INFO: count ==1291 [2026-01-25 23:02:19] Production.ERROR: pbx CDR StartTime 2026-01-25 20:02:06 - End Time 2026-01-25 23:02:06 [2026-01-25 23:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-25 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16629620', 'tblTempUsageDetail_20' ) start [2026-01-25 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16629620', 'tblTempUsageDetail_20' ) end [2026-01-25 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16629620', 'tblTempVendorCDR_20' ) start [2026-01-25 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16629620', 'tblTempVendorCDR_20' ) end [2026-01-25 23:02:19] Production.INFO: ProcessCDR(1,16629620,1,1,2) [2026-01-25 23:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16629620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 23:05:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16629620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-25 23:05:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16629620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 23:09:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16629620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-25 23:09:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16629620', 'tblTempUsageDetail_20' ) start [2026-01-25 23:09:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16629620', 'tblTempUsageDetail_20' ) end [2026-01-25 23:09:33] Production.ERROR: pbx prc_insertCDR start [2026-01-25 23:09:33] Production.ERROR: pbx prc_insertCDR end [2026-01-25 23:09:33] Production.INFO: ==28743== Releasing lock... [2026-01-25 23:09:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-25 23:09:33] Production.INFO: 38.25 MB #Memory Used#