[2026-03-20 00:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-19 21:02:06 [end_date_ymd] => 2026-03-20 00:02:06 [RateCDR] => 1 ) [2026-03-20 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-03-19 21:02:06' and `end` < '2026-03-20 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-03-20 00:02:19] Production.INFO: count ==774 [2026-03-20 00:02:20] Production.ERROR: pbx CDR StartTime 2026-03-19 21:02:06 - End Time 2026-03-20 00:02:06 [2026-03-20 00:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16943799', 'tblTempUsageDetail_20' ) start [2026-03-20 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16943799', 'tblTempUsageDetail_20' ) end [2026-03-20 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16943799', 'tblTempVendorCDR_20' ) start [2026-03-20 00:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16943799', 'tblTempVendorCDR_20' ) end [2026-03-20 00:02:20] Production.INFO: ProcessCDR(1,16943799,1,1,2) [2026-03-20 00:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16943799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 00:06:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16943799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 00:06:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16943799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 00:10:47] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16943799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 00:10:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16943799', 'tblTempUsageDetail_20' ) start [2026-03-20 00:10:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16943799', 'tblTempUsageDetail_20' ) end [2026-03-20 00:10:47] Production.ERROR: pbx prc_insertCDR start [2026-03-20 00:10:48] Production.ERROR: pbx prc_insertCDR end [2026-03-20 00:10:50] Production.INFO: ==26783== Releasing lock... [2026-03-20 00:10:50] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 00:10:50] Production.INFO: 38.75 MB #Memory Used# [2026-03-20 01:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-19 22:02:05 [end_date_ymd] => 2026-03-20 01:02:05 [RateCDR] => 1 ) [2026-03-20 01: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-03-19 22:02:05' and `end` < '2026-03-20 01: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-03-20 01:02:17] Production.INFO: count ==756 [2026-03-20 01:02:17] Production.ERROR: pbx CDR StartTime 2026-03-19 22:02:05 - End Time 2026-03-20 01:02:05 [2026-03-20 01:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944046', 'tblTempUsageDetail_20' ) start [2026-03-20 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944046', 'tblTempUsageDetail_20' ) end [2026-03-20 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944046', 'tblTempVendorCDR_20' ) start [2026-03-20 01:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944046', 'tblTempVendorCDR_20' ) end [2026-03-20 01:02:17] Production.INFO: ProcessCDR(1,16944046,1,1,2) [2026-03-20 01:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16944046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 01:05:59] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16944046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 01:05:59] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16944046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 01:10:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16944046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 01:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944046', 'tblTempUsageDetail_20' ) start [2026-03-20 01:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944046', 'tblTempUsageDetail_20' ) end [2026-03-20 01:10:31] Production.ERROR: pbx prc_insertCDR start [2026-03-20 01:10:32] Production.ERROR: pbx prc_insertCDR end [2026-03-20 01:10:32] Production.INFO: ==31857== Releasing lock... [2026-03-20 01:10:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 01:10:32] Production.INFO: 35 MB #Memory Used# [2026-03-20 02:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-19 23:02:05 [end_date_ymd] => 2026-03-20 02:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-19 23:02:05' and `end` < '2026-03-20 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-03-20 02:02:20] Production.INFO: count ==661 [2026-03-20 02:02:20] Production.ERROR: pbx CDR StartTime 2026-03-19 23:02:05 - End Time 2026-03-20 02:02:05 [2026-03-20 02:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944293', 'tblTempUsageDetail_20' ) start [2026-03-20 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944293', 'tblTempUsageDetail_20' ) end [2026-03-20 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944293', 'tblTempVendorCDR_20' ) start [2026-03-20 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944293', 'tblTempVendorCDR_20' ) end [2026-03-20 02:02:20] Production.INFO: ProcessCDR(1,16944293,1,1,2) [2026-03-20 02:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16944293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 02:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16944293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 02:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16944293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 02:10:53] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16944293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 02:10:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944293', 'tblTempUsageDetail_20' ) start [2026-03-20 02:10:53] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944293', 'tblTempUsageDetail_20' ) end [2026-03-20 02:10:53] Production.ERROR: pbx prc_insertCDR start [2026-03-20 02:10:53] Production.ERROR: pbx prc_insertCDR end [2026-03-20 02:10:53] Production.INFO: ==4047== Releasing lock... [2026-03-20 02:10:53] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 02:10:53] Production.INFO: 33.75 MB #Memory Used# [2026-03-20 03:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 00:02:05 [end_date_ymd] => 2026-03-20 03:02:05 [RateCDR] => 1 ) [2026-03-20 03: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-03-20 00:02:05' and `end` < '2026-03-20 03: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-03-20 03:02:17] Production.INFO: count ==633 [2026-03-20 03:02:17] Production.ERROR: pbx CDR StartTime 2026-03-20 00:02:05 - End Time 2026-03-20 03:02:05 [2026-03-20 03:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944540', 'tblTempUsageDetail_20' ) start [2026-03-20 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944540', 'tblTempUsageDetail_20' ) end [2026-03-20 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944540', 'tblTempVendorCDR_20' ) start [2026-03-20 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944540', 'tblTempVendorCDR_20' ) end [2026-03-20 03:02:17] Production.INFO: ProcessCDR(1,16944540,1,1,2) [2026-03-20 03:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16944540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 03:06:07] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16944540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 03:06:07] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16944540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 03:10:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16944540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 03:10:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944540', 'tblTempUsageDetail_20' ) start [2026-03-20 03:10:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944540', 'tblTempUsageDetail_20' ) end [2026-03-20 03:10:42] Production.ERROR: pbx prc_insertCDR start [2026-03-20 03:10:42] Production.ERROR: pbx prc_insertCDR end [2026-03-20 03:10:42] Production.INFO: ==8631== Releasing lock... [2026-03-20 03:10:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 03:10:42] Production.INFO: 33.25 MB #Memory Used# [2026-03-20 04:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 01:02:06 [end_date_ymd] => 2026-03-20 04:02:06 [RateCDR] => 1 ) [2026-03-20 04: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-03-20 01:02:06' and `end` < '2026-03-20 04: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-03-20 04:02:17] Production.INFO: count ==550 [2026-03-20 04:02:17] Production.ERROR: pbx CDR StartTime 2026-03-20 01:02:06 - End Time 2026-03-20 04:02:06 [2026-03-20 04:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944788', 'tblTempUsageDetail_20' ) start [2026-03-20 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16944788', 'tblTempUsageDetail_20' ) end [2026-03-20 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944788', 'tblTempVendorCDR_20' ) start [2026-03-20 04:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16944788', 'tblTempVendorCDR_20' ) end [2026-03-20 04:02:17] Production.INFO: ProcessCDR(1,16944788,1,1,2) [2026-03-20 04:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16944788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 04:06:00] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16944788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 04:06:01] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16944788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 04:10:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16944788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 04:10:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944788', 'tblTempUsageDetail_20' ) start [2026-03-20 04:10:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16944788', 'tblTempUsageDetail_20' ) end [2026-03-20 04:10:36] Production.ERROR: pbx prc_insertCDR start [2026-03-20 04:10:37] Production.ERROR: pbx prc_insertCDR end [2026-03-20 04:10:37] Production.INFO: ==13042== Releasing lock... [2026-03-20 04:10:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 04:10:37] Production.INFO: 33 MB #Memory Used# [2026-03-20 05:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 02:02:06 [end_date_ymd] => 2026-03-20 05:02:06 [RateCDR] => 1 ) [2026-03-20 05: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-03-20 02:02:06' and `end` < '2026-03-20 05: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-03-20 05:02:18] Production.INFO: count ==423 [2026-03-20 05:02:18] Production.ERROR: pbx CDR StartTime 2026-03-20 02:02:06 - End Time 2026-03-20 05:02:06 [2026-03-20 05:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945036', 'tblTempUsageDetail_20' ) start [2026-03-20 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945036', 'tblTempUsageDetail_20' ) end [2026-03-20 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945036', 'tblTempVendorCDR_20' ) start [2026-03-20 05:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945036', 'tblTempVendorCDR_20' ) end [2026-03-20 05:02:18] Production.INFO: ProcessCDR(1,16945036,1,1,2) [2026-03-20 05:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16945036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 05:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16945036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 05:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16945036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 05:09:59] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16945036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 05:09:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945036', 'tblTempUsageDetail_20' ) start [2026-03-20 05:09:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945036', 'tblTempUsageDetail_20' ) end [2026-03-20 05:09:59] Production.ERROR: pbx prc_insertCDR start [2026-03-20 05:09:59] Production.ERROR: pbx prc_insertCDR end [2026-03-20 05:09:59] Production.INFO: ==17493== Releasing lock... [2026-03-20 05:09:59] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 05:09:59] Production.INFO: 31.5 MB #Memory Used# [2026-03-20 06:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 03:02:05 [end_date_ymd] => 2026-03-20 06:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 03:02:05' and `end` < '2026-03-20 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-03-20 06:02:16] Production.INFO: count ==244 [2026-03-20 06:02:16] Production.ERROR: pbx CDR StartTime 2026-03-20 03:02:05 - End Time 2026-03-20 06:02:05 [2026-03-20 06:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 06:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945283', 'tblTempUsageDetail_20' ) start [2026-03-20 06:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945283', 'tblTempUsageDetail_20' ) end [2026-03-20 06:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945283', 'tblTempVendorCDR_20' ) start [2026-03-20 06:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945283', 'tblTempVendorCDR_20' ) end [2026-03-20 06:02:16] Production.INFO: ProcessCDR(1,16945283,1,1,2) [2026-03-20 06:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16945283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 06:06:09] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16945283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 06:06:09] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16945283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 06:10:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16945283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 06:10:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945283', 'tblTempUsageDetail_20' ) start [2026-03-20 06:10:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945283', 'tblTempUsageDetail_20' ) end [2026-03-20 06:10:49] Production.ERROR: pbx prc_insertCDR start [2026-03-20 06:10:49] Production.ERROR: pbx prc_insertCDR end [2026-03-20 06:10:49] Production.INFO: ==22110== Releasing lock... [2026-03-20 06:10:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 06:10:49] Production.INFO: 30.25 MB #Memory Used# [2026-03-20 07:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 04:02:06 [end_date_ymd] => 2026-03-20 07:02:06 [RateCDR] => 1 ) [2026-03-20 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-03-20 04:02:06' and `end` < '2026-03-20 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-03-20 07:02:17] Production.INFO: count ==121 [2026-03-20 07:02:17] Production.ERROR: pbx CDR StartTime 2026-03-20 04:02:06 - End Time 2026-03-20 07:02:06 [2026-03-20 07:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945530', 'tblTempUsageDetail_20' ) start [2026-03-20 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945530', 'tblTempUsageDetail_20' ) end [2026-03-20 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945530', 'tblTempVendorCDR_20' ) start [2026-03-20 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945530', 'tblTempVendorCDR_20' ) end [2026-03-20 07:02:17] Production.INFO: ProcessCDR(1,16945530,1,1,2) [2026-03-20 07:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16945530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 07:05:51] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16945530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 07:05:51] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16945530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 07:10:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16945530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 07:10:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945530', 'tblTempUsageDetail_20' ) start [2026-03-20 07:10:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945530', 'tblTempUsageDetail_20' ) end [2026-03-20 07:10:14] Production.ERROR: pbx prc_insertCDR start [2026-03-20 07:10:15] Production.ERROR: pbx prc_insertCDR end [2026-03-20 07:10:15] Production.INFO: ==26820== Releasing lock... [2026-03-20 07:10:15] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 07:10:15] Production.INFO: 28.75 MB #Memory Used# [2026-03-20 08:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 05:02:05 [end_date_ymd] => 2026-03-20 08:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 05:02:05' and `end` < '2026-03-20 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-03-20 08:02:16] Production.INFO: count ==246 [2026-03-20 08:02:16] Production.ERROR: pbx CDR StartTime 2026-03-20 05:02:05 - End Time 2026-03-20 08:02:05 [2026-03-20 08:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945777', 'tblTempUsageDetail_20' ) start [2026-03-20 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16945777', 'tblTempUsageDetail_20' ) end [2026-03-20 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945777', 'tblTempVendorCDR_20' ) start [2026-03-20 08:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16945777', 'tblTempVendorCDR_20' ) end [2026-03-20 08:02:16] Production.INFO: ProcessCDR(1,16945777,1,1,2) [2026-03-20 08:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16945777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 08:06:10] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16945777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 08:06:10] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16945777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 08:10:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16945777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 08:10:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945777', 'tblTempUsageDetail_20' ) start [2026-03-20 08:10:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16945777', 'tblTempUsageDetail_20' ) end [2026-03-20 08:10:43] Production.ERROR: pbx prc_insertCDR start [2026-03-20 08:10:43] Production.ERROR: pbx prc_insertCDR end [2026-03-20 08:10:43] Production.INFO: ==31419== Releasing lock... [2026-03-20 08:10:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 08:10:43] Production.INFO: 30.5 MB #Memory Used# [2026-03-20 09:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 06:02:06 [end_date_ymd] => 2026-03-20 09:02:06 [RateCDR] => 1 ) [2026-03-20 09: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-03-20 06:02:06' and `end` < '2026-03-20 09: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-03-20 09:02:18] Production.INFO: count ==944 [2026-03-20 09:02:18] Production.ERROR: pbx CDR StartTime 2026-03-20 06:02:06 - End Time 2026-03-20 09:02:06 [2026-03-20 09:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946024', 'tblTempUsageDetail_20' ) start [2026-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946024', 'tblTempUsageDetail_20' ) end [2026-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946024', 'tblTempVendorCDR_20' ) start [2026-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946024', 'tblTempVendorCDR_20' ) end [2026-03-20 09:02:18] Production.INFO: ProcessCDR(1,16946024,1,1,2) [2026-03-20 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16946024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 09:05:58] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16946024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 09:05:58] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16946024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 09:10:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16946024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 09:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946024', 'tblTempUsageDetail_20' ) start [2026-03-20 09:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946024', 'tblTempUsageDetail_20' ) end [2026-03-20 09:10:31] Production.ERROR: pbx prc_insertCDR start [2026-03-20 09:10:32] Production.ERROR: pbx prc_insertCDR end [2026-03-20 09:10:32] Production.INFO: ==4014== Releasing lock... [2026-03-20 09:10:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 09:10:32] Production.INFO: 36.25 MB #Memory Used# [2026-03-20 10:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 07:02:05 [end_date_ymd] => 2026-03-20 10:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 07:02:05' and `end` < '2026-03-20 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-03-20 10:02:19] Production.INFO: count ==2363 [2026-03-20 10:02:20] Production.ERROR: pbx CDR StartTime 2026-03-20 07:02:05 - End Time 2026-03-20 10:02:05 [2026-03-20 10:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 10:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946271', 'tblTempUsageDetail_20' ) start [2026-03-20 10:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946271', 'tblTempUsageDetail_20' ) end [2026-03-20 10:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946271', 'tblTempVendorCDR_20' ) start [2026-03-20 10:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946271', 'tblTempVendorCDR_20' ) end [2026-03-20 10:02:20] Production.INFO: ProcessCDR(1,16946271,1,1,2) [2026-03-20 10:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16946271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 10:06:06] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16946271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 10:06:06] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16946271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 10:10:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16946271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 10:10:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946271', 'tblTempUsageDetail_20' ) start [2026-03-20 10:10:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946271', 'tblTempUsageDetail_20' ) end [2026-03-20 10:10:41] Production.ERROR: pbx prc_insertCDR start [2026-03-20 10:10:42] Production.ERROR: pbx prc_insertCDR end [2026-03-20 10:10:42] Production.INFO: ==9350== Releasing lock... [2026-03-20 10:10:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 10:10:42] Production.INFO: 46.25 MB #Memory Used# [2026-03-20 11:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 08:02:05 [end_date_ymd] => 2026-03-20 11:02:05 [RateCDR] => 1 ) [2026-03-20 11: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-03-20 08:02:05' and `end` < '2026-03-20 11: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-03-20 11:02:18] Production.INFO: count ==3845 [2026-03-20 11:02:20] Production.ERROR: pbx CDR StartTime 2026-03-20 08:02:05 - End Time 2026-03-20 11:02:05 [2026-03-20 11:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946518', 'tblTempUsageDetail_20' ) start [2026-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946518', 'tblTempUsageDetail_20' ) end [2026-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946518', 'tblTempVendorCDR_20' ) start [2026-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946518', 'tblTempVendorCDR_20' ) end [2026-03-20 11:02:20] Production.INFO: ProcessCDR(1,16946518,1,1,2) [2026-03-20 11:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16946518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 11:06:06] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16946518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 11:06:06] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16946518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 11:10:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16946518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 11:10:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946518', 'tblTempUsageDetail_20' ) start [2026-03-20 11:10:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946518', 'tblTempUsageDetail_20' ) end [2026-03-20 11:10:41] Production.ERROR: pbx prc_insertCDR start [2026-03-20 11:10:43] Production.ERROR: pbx prc_insertCDR end [2026-03-20 11:10:43] Production.INFO: ==14205== Releasing lock... [2026-03-20 11:10:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 11:10:43] Production.INFO: 56.75 MB #Memory Used# [2026-03-20 12:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 09:02:05 [end_date_ymd] => 2026-03-20 12:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 09:02:05' and `end` < '2026-03-20 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-03-20 12:02:21] Production.INFO: count ==4898 [2026-03-20 12:02:23] Production.ERROR: pbx CDR StartTime 2026-03-20 09:02:05 - End Time 2026-03-20 12:02:05 [2026-03-20 12:02:23] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 12:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946765', 'tblTempUsageDetail_20' ) start [2026-03-20 12:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16946765', 'tblTempUsageDetail_20' ) end [2026-03-20 12:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946765', 'tblTempVendorCDR_20' ) start [2026-03-20 12:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16946765', 'tblTempVendorCDR_20' ) end [2026-03-20 12:02:24] Production.INFO: ProcessCDR(1,16946765,1,1,2) [2026-03-20 12:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16946765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 12:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16946765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 12:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16946765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 12:11:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16946765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 12:11:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946765', 'tblTempUsageDetail_20' ) start [2026-03-20 12:11:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16946765', 'tblTempUsageDetail_20' ) end [2026-03-20 12:11:19] Production.ERROR: pbx prc_insertCDR start [2026-03-20 12:11:23] Production.ERROR: pbx prc_insertCDR end [2026-03-20 12:11:23] Production.INFO: ==18897== Releasing lock... [2026-03-20 12:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 12:11:23] Production.INFO: 65 MB #Memory Used# [2026-03-20 13:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 10:02:05 [end_date_ymd] => 2026-03-20 13:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 10:02:05' and `end` < '2026-03-20 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-03-20 13:02:19] Production.INFO: count ==5058 [2026-03-20 13:02:21] Production.ERROR: pbx CDR StartTime 2026-03-20 10:02:05 - End Time 2026-03-20 13:02:05 [2026-03-20 13:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947012', 'tblTempUsageDetail_20' ) start [2026-03-20 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947012', 'tblTempUsageDetail_20' ) end [2026-03-20 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947012', 'tblTempVendorCDR_20' ) start [2026-03-20 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947012', 'tblTempVendorCDR_20' ) end [2026-03-20 13:02:22] Production.INFO: ProcessCDR(1,16947012,1,1,2) [2026-03-20 13:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16947012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 13:06:09] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16947012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 13:06:09] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16947012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 13:10:51] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16947012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 13:10:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947012', 'tblTempUsageDetail_20' ) start [2026-03-20 13:10:52] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947012', 'tblTempUsageDetail_20' ) end [2026-03-20 13:10:52] Production.ERROR: pbx prc_insertCDR start [2026-03-20 13:10:54] Production.ERROR: pbx prc_insertCDR end [2026-03-20 13:10:54] Production.INFO: ==23608== Releasing lock... [2026-03-20 13:10:54] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 13:10:54] Production.INFO: 66 MB #Memory Used# [2026-03-20 14:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 11:02:06 [end_date_ymd] => 2026-03-20 14:02:06 [RateCDR] => 1 ) [2026-03-20 14: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-03-20 11:02:06' and `end` < '2026-03-20 14: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-03-20 14:02:18] Production.INFO: count ==5063 [2026-03-20 14:02:21] Production.ERROR: pbx CDR StartTime 2026-03-20 11:02:06 - End Time 2026-03-20 14:02:06 [2026-03-20 14:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947259', 'tblTempUsageDetail_20' ) start [2026-03-20 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947259', 'tblTempUsageDetail_20' ) end [2026-03-20 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947259', 'tblTempVendorCDR_20' ) start [2026-03-20 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947259', 'tblTempVendorCDR_20' ) end [2026-03-20 14:02:21] Production.INFO: ProcessCDR(1,16947259,1,1,2) [2026-03-20 14:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16947259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 14:06:57] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16947259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 14:06:57] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16947259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 14:11:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16947259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 14:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947259', 'tblTempUsageDetail_20' ) start [2026-03-20 14:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947259', 'tblTempUsageDetail_20' ) end [2026-03-20 14:11:34] Production.ERROR: pbx prc_insertCDR start [2026-03-20 14:11:37] Production.ERROR: pbx prc_insertCDR end [2026-03-20 14:11:37] Production.INFO: ==28359== Releasing lock... [2026-03-20 14:11:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 14:11:37] Production.INFO: 66 MB #Memory Used# [2026-03-20 15:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 12:02:05 [end_date_ymd] => 2026-03-20 15:02:05 [RateCDR] => 1 ) [2026-03-20 15: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-03-20 12:02:05' and `end` < '2026-03-20 15: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-03-20 15:02:21] Production.INFO: count ==5194 [2026-03-20 15:02:24] Production.ERROR: pbx CDR StartTime 2026-03-20 12:02:05 - End Time 2026-03-20 15:02:05 [2026-03-20 15:02:24] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947506', 'tblTempUsageDetail_20' ) start [2026-03-20 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947506', 'tblTempUsageDetail_20' ) end [2026-03-20 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947506', 'tblTempVendorCDR_20' ) start [2026-03-20 15:02:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947506', 'tblTempVendorCDR_20' ) end [2026-03-20 15:02:24] Production.INFO: ProcessCDR(1,16947506,1,1,2) [2026-03-20 15:02:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16947506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 15:06:06] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16947506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 15:06:06] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16947506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 15:10:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16947506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 15:10:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947506', 'tblTempUsageDetail_20' ) start [2026-03-20 15:10:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947506', 'tblTempUsageDetail_20' ) end [2026-03-20 15:10:42] Production.ERROR: pbx prc_insertCDR start [2026-03-20 15:10:44] Production.ERROR: pbx prc_insertCDR end [2026-03-20 15:10:44] Production.INFO: ==536== Releasing lock... [2026-03-20 15:10:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 15:10:44] Production.INFO: 67 MB #Memory Used# [2026-03-20 16:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 13:02:06 [end_date_ymd] => 2026-03-20 16:02:06 [RateCDR] => 1 ) [2026-03-20 16: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-03-20 13:02:06' and `end` < '2026-03-20 16: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-03-20 16:02:19] Production.INFO: count ==5306 [2026-03-20 16:02:21] Production.ERROR: pbx CDR StartTime 2026-03-20 13:02:06 - End Time 2026-03-20 16:02:06 [2026-03-20 16:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947753', 'tblTempUsageDetail_20' ) start [2026-03-20 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16947753', 'tblTempUsageDetail_20' ) end [2026-03-20 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947753', 'tblTempVendorCDR_20' ) start [2026-03-20 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16947753', 'tblTempVendorCDR_20' ) end [2026-03-20 16:02:22] Production.INFO: ProcessCDR(1,16947753,1,1,2) [2026-03-20 16:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16947753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 16:06:03] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16947753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 16:06:03] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16947753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 16:10:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16947753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 16:10:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947753', 'tblTempUsageDetail_20' ) start [2026-03-20 16:10:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16947753', 'tblTempUsageDetail_20' ) end [2026-03-20 16:10:39] Production.ERROR: pbx prc_insertCDR start [2026-03-20 16:10:41] Production.ERROR: pbx prc_insertCDR end [2026-03-20 16:10:41] Production.INFO: ==5166== Releasing lock... [2026-03-20 16:10:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 16:10:41] Production.INFO: 68 MB #Memory Used# [2026-03-20 17:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 14:02:05 [end_date_ymd] => 2026-03-20 17:02:05 [RateCDR] => 1 ) [2026-03-20 17: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-03-20 14:02:05' and `end` < '2026-03-20 17: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-03-20 17:02:20] Production.INFO: count ==5353 [2026-03-20 17:02:22] Production.ERROR: pbx CDR StartTime 2026-03-20 14:02:05 - End Time 2026-03-20 17:02:05 [2026-03-20 17:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948000', 'tblTempUsageDetail_20' ) start [2026-03-20 17:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948000', 'tblTempUsageDetail_20' ) end [2026-03-20 17:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948000', 'tblTempVendorCDR_20' ) start [2026-03-20 17:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948000', 'tblTempVendorCDR_20' ) end [2026-03-20 17:02:23] Production.INFO: ProcessCDR(1,16948000,1,1,2) [2026-03-20 17:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16948000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 17:06:10] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16948000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 17:06:10] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16948000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 17:10:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16948000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 17:10:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948000', 'tblTempUsageDetail_20' ) start [2026-03-20 17:10:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948000', 'tblTempUsageDetail_20' ) end [2026-03-20 17:10:47] Production.ERROR: pbx prc_insertCDR start [2026-03-20 17:10:49] Production.ERROR: pbx prc_insertCDR end [2026-03-20 17:10:49] Production.INFO: ==9727== Releasing lock... [2026-03-20 17:10:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 17:10:49] Production.INFO: 68.25 MB #Memory Used# [2026-03-20 18:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 15:02:06 [end_date_ymd] => 2026-03-20 18:02:06 [RateCDR] => 1 ) [2026-03-20 18: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-03-20 15:02:06' and `end` < '2026-03-20 18: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-03-20 18:02:18] Production.INFO: count ==4753 [2026-03-20 18:02:20] Production.ERROR: pbx CDR StartTime 2026-03-20 15:02:06 - End Time 2026-03-20 18:02:06 [2026-03-20 18:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 18:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948247', 'tblTempUsageDetail_20' ) start [2026-03-20 18:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948247', 'tblTempUsageDetail_20' ) end [2026-03-20 18:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948247', 'tblTempVendorCDR_20' ) start [2026-03-20 18:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948247', 'tblTempVendorCDR_20' ) end [2026-03-20 18:02:20] Production.INFO: ProcessCDR(1,16948247,1,1,2) [2026-03-20 18:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16948247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 18:06:08] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16948247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 18:06:08] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16948247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 18:10:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16948247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 18:10:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948247', 'tblTempUsageDetail_20' ) start [2026-03-20 18:10:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948247', 'tblTempUsageDetail_20' ) end [2026-03-20 18:10:40] Production.ERROR: pbx prc_insertCDR start [2026-03-20 18:10:42] Production.ERROR: pbx prc_insertCDR end [2026-03-20 18:10:42] Production.INFO: ==14105== Releasing lock... [2026-03-20 18:10:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 18:10:42] Production.INFO: 63.75 MB #Memory Used# [2026-03-20 19:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 16:02:05 [end_date_ymd] => 2026-03-20 19:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 16:02:05' and `end` < '2026-03-20 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-03-20 19:02:17] Production.INFO: count ==4052 [2026-03-20 19:02:19] Production.ERROR: pbx CDR StartTime 2026-03-20 16:02:05 - End Time 2026-03-20 19:02:05 [2026-03-20 19:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948493', 'tblTempUsageDetail_20' ) start [2026-03-20 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948493', 'tblTempUsageDetail_20' ) end [2026-03-20 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948493', 'tblTempVendorCDR_20' ) start [2026-03-20 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948493', 'tblTempVendorCDR_20' ) end [2026-03-20 19:02:19] Production.INFO: ProcessCDR(1,16948493,1,1,2) [2026-03-20 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16948493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 19:05:51] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16948493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 19:05:51] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16948493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 19:06:01] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16948493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 19:06:01] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948493', 'tblTempUsageDetail_20' ) start [2026-03-20 19:06:02] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948493', 'tblTempUsageDetail_20' ) end [2026-03-20 19:06:02] Production.ERROR: pbx prc_insertCDR start [2026-03-20 19:06:03] Production.ERROR: pbx prc_insertCDR end [2026-03-20 19:06:03] Production.INFO: ==18918== Releasing lock... [2026-03-20 19:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 19:06:03] Production.INFO: 58.5 MB #Memory Used# [2026-03-20 20:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 17:02:05 [end_date_ymd] => 2026-03-20 20:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 17:02:05' and `end` < '2026-03-20 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-03-20 20:02:16] Production.INFO: count ==3108 [2026-03-20 20:02:18] Production.ERROR: pbx CDR StartTime 2026-03-20 17:02:05 - End Time 2026-03-20 20:02:05 [2026-03-20 20:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948740', 'tblTempUsageDetail_20' ) start [2026-03-20 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948740', 'tblTempUsageDetail_20' ) end [2026-03-20 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948740', 'tblTempVendorCDR_20' ) start [2026-03-20 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948740', 'tblTempVendorCDR_20' ) end [2026-03-20 20:02:18] Production.INFO: ProcessCDR(1,16948740,1,1,2) [2026-03-20 20:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16948740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 20:06:11] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16948740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 20:06:11] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16948740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 20:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16948740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 20:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948740', 'tblTempUsageDetail_20' ) start [2026-03-20 20:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948740', 'tblTempUsageDetail_20' ) end [2026-03-20 20:06:24] Production.ERROR: pbx prc_insertCDR start [2026-03-20 20:06:25] Production.ERROR: pbx prc_insertCDR end [2026-03-20 20:06:25] Production.INFO: ==23663== Releasing lock... [2026-03-20 20:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 20:06:25] Production.INFO: 51.25 MB #Memory Used# [2026-03-20 21:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 18:02:06 [end_date_ymd] => 2026-03-20 21:02:06 [RateCDR] => 1 ) [2026-03-20 21: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-03-20 18:02:06' and `end` < '2026-03-20 21: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-03-20 21:02:20] Production.INFO: count ==2425 [2026-03-20 21:02:21] Production.ERROR: pbx CDR StartTime 2026-03-20 18:02:06 - End Time 2026-03-20 21:02:06 [2026-03-20 21:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 21:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948987', 'tblTempUsageDetail_20' ) start [2026-03-20 21:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16948987', 'tblTempUsageDetail_20' ) end [2026-03-20 21:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948987', 'tblTempVendorCDR_20' ) start [2026-03-20 21:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16948987', 'tblTempVendorCDR_20' ) end [2026-03-20 21:02:21] Production.INFO: ProcessCDR(1,16948987,1,1,2) [2026-03-20 21:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16948987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 21:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16948987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 21:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16948987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 21:06:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16948987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 21:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948987', 'tblTempUsageDetail_20' ) start [2026-03-20 21:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16948987', 'tblTempUsageDetail_20' ) end [2026-03-20 21:06:30] Production.ERROR: pbx prc_insertCDR start [2026-03-20 21:06:31] Production.ERROR: pbx prc_insertCDR end [2026-03-20 21:06:31] Production.INFO: ==28339== Releasing lock... [2026-03-20 21:06:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 21:06:31] Production.INFO: 46.25 MB #Memory Used# [2026-03-20 22:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 19:02:05 [end_date_ymd] => 2026-03-20 22:02:05 [RateCDR] => 1 ) [2026-03-20 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-03-20 19:02:05' and `end` < '2026-03-20 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-03-20 22:02:17] Production.INFO: count ==1905 [2026-03-20 22:02:17] Production.ERROR: pbx CDR StartTime 2026-03-20 19:02:05 - End Time 2026-03-20 22:02:05 [2026-03-20 22:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16949234', 'tblTempUsageDetail_20' ) start [2026-03-20 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16949234', 'tblTempUsageDetail_20' ) end [2026-03-20 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16949234', 'tblTempVendorCDR_20' ) start [2026-03-20 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16949234', 'tblTempVendorCDR_20' ) end [2026-03-20 22:02:17] Production.INFO: ProcessCDR(1,16949234,1,1,2) [2026-03-20 22:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16949234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 22:05:57] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16949234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 22:05:57] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16949234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 22:06:15] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16949234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 22:06:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16949234', 'tblTempUsageDetail_20' ) start [2026-03-20 22:06:16] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16949234', 'tblTempUsageDetail_20' ) end [2026-03-20 22:06:16] Production.ERROR: pbx prc_insertCDR start [2026-03-20 22:06:16] Production.ERROR: pbx prc_insertCDR end [2026-03-20 22:06:16] Production.INFO: ==427== Releasing lock... [2026-03-20 22:06:16] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 22:06:16] Production.INFO: 42.5 MB #Memory Used# [2026-03-20 23:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-20 20:02:05 [end_date_ymd] => 2026-03-20 23:02:05 [RateCDR] => 1 ) [2026-03-20 23: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-03-20 20:02:05' and `end` < '2026-03-20 23: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-03-20 23:02:16] Production.INFO: count ==1628 [2026-03-20 23:02:17] Production.ERROR: pbx CDR StartTime 2026-03-20 20:02:05 - End Time 2026-03-20 23:02:05 [2026-03-20 23:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-20 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16949481', 'tblTempUsageDetail_20' ) start [2026-03-20 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16949481', 'tblTempUsageDetail_20' ) end [2026-03-20 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16949481', 'tblTempVendorCDR_20' ) start [2026-03-20 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16949481', 'tblTempVendorCDR_20' ) end [2026-03-20 23:02:17] Production.INFO: ProcessCDR(1,16949481,1,1,2) [2026-03-20 23:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16949481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 23:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16949481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-20 23:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16949481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 23:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16949481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-20 23:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16949481', 'tblTempUsageDetail_20' ) start [2026-03-20 23:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16949481', 'tblTempUsageDetail_20' ) end [2026-03-20 23:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-20 23:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-20 23:02:38] Production.INFO: ==5031== Releasing lock... [2026-03-20 23:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-20 23:02:38] Production.INFO: 40.25 MB #Memory Used#