[2026-03-26 00:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-25 21:02:06 [end_date_ymd] => 2026-03-26 00:02:06 [RateCDR] => 1 ) [2026-03-26 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-25 21:02:06' and `end` < '2026-03-26 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-26 00:02:25] Production.INFO: count ==750 [2026-03-26 00:02:25] Production.ERROR: pbx CDR StartTime 2026-03-25 21:02:06 - End Time 2026-03-26 00:02:06 [2026-03-26 00:02:25] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 00:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16979370', 'tblTempUsageDetail_20' ) start [2026-03-26 00:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16979370', 'tblTempUsageDetail_20' ) end [2026-03-26 00:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16979370', 'tblTempVendorCDR_20' ) start [2026-03-26 00:02:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16979370', 'tblTempVendorCDR_20' ) end [2026-03-26 00:02:25] Production.INFO: ProcessCDR(1,16979370,1,1,2) [2026-03-26 00:02:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16979370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 00:02:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16979370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 00:02:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16979370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 00:02:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16979370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 00:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16979370', 'tblTempUsageDetail_20' ) start [2026-03-26 00:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16979370', 'tblTempUsageDetail_20' ) end [2026-03-26 00:02:46] Production.ERROR: pbx prc_insertCDR start [2026-03-26 00:02:46] Production.ERROR: pbx prc_insertCDR end [2026-03-26 00:02:48] Production.INFO: ==16866== Releasing lock... [2026-03-26 00:02:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 00:02:48] Production.INFO: 38.5 MB #Memory Used# [2026-03-26 01:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-25 22:02:06 [end_date_ymd] => 2026-03-26 01:02:06 [RateCDR] => 1 ) [2026-03-26 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-03-25 22:02:06' and `end` < '2026-03-26 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-03-26 01:02:17] Production.INFO: count ==718 [2026-03-26 01:02:18] Production.ERROR: pbx CDR StartTime 2026-03-25 22:02:06 - End Time 2026-03-26 01:02:06 [2026-03-26 01:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16979617', 'tblTempUsageDetail_20' ) start [2026-03-26 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16979617', 'tblTempUsageDetail_20' ) end [2026-03-26 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16979617', 'tblTempVendorCDR_20' ) start [2026-03-26 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16979617', 'tblTempVendorCDR_20' ) end [2026-03-26 01:02:18] Production.INFO: ProcessCDR(1,16979617,1,1,2) [2026-03-26 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16979617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 01:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16979617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 01:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16979617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 01:02:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16979617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 01:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16979617', 'tblTempUsageDetail_20' ) start [2026-03-26 01:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16979617', 'tblTempUsageDetail_20' ) end [2026-03-26 01:02:39] Production.ERROR: pbx prc_insertCDR start [2026-03-26 01:02:40] Production.ERROR: pbx prc_insertCDR end [2026-03-26 01:02:40] Production.INFO: ==21528== Releasing lock... [2026-03-26 01:02:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 01:02:40] Production.INFO: 33.75 MB #Memory Used# [2026-03-26 02:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-25 23:02:06 [end_date_ymd] => 2026-03-26 02:02:06 [RateCDR] => 1 ) [2026-03-26 02: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-25 23:02:06' and `end` < '2026-03-26 02: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-26 02:02:21] Production.INFO: count ==720 [2026-03-26 02:02:22] Production.ERROR: pbx CDR StartTime 2026-03-25 23:02:06 - End Time 2026-03-26 02:02:06 [2026-03-26 02:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 02:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16979864', 'tblTempUsageDetail_20' ) start [2026-03-26 02:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16979864', 'tblTempUsageDetail_20' ) end [2026-03-26 02:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16979864', 'tblTempVendorCDR_20' ) start [2026-03-26 02:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16979864', 'tblTempVendorCDR_20' ) end [2026-03-26 02:02:22] Production.INFO: ProcessCDR(1,16979864,1,1,2) [2026-03-26 02:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16979864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 02:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16979864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 02:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16979864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 02:02:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16979864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 02:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16979864', 'tblTempUsageDetail_20' ) start [2026-03-26 02:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16979864', 'tblTempUsageDetail_20' ) end [2026-03-26 02:02:41] Production.ERROR: pbx prc_insertCDR start [2026-03-26 02:02:41] Production.ERROR: pbx prc_insertCDR end [2026-03-26 02:02:41] Production.INFO: ==26526== Releasing lock... [2026-03-26 02:02:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 02:02:41] Production.INFO: 33.75 MB #Memory Used# [2026-03-26 03:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 00:02:05 [end_date_ymd] => 2026-03-26 03:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 00:02:05' and `end` < '2026-03-26 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-26 03:02:17] Production.INFO: count ==647 [2026-03-26 03:02:17] Production.ERROR: pbx CDR StartTime 2026-03-26 00:02:05 - End Time 2026-03-26 03:02:05 [2026-03-26 03:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980111', 'tblTempUsageDetail_20' ) start [2026-03-26 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980111', 'tblTempUsageDetail_20' ) end [2026-03-26 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980111', 'tblTempVendorCDR_20' ) start [2026-03-26 03:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980111', 'tblTempVendorCDR_20' ) end [2026-03-26 03:02:17] Production.INFO: ProcessCDR(1,16980111,1,1,2) [2026-03-26 03:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16980111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 03:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16980111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 03:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16980111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 03:02:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16980111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 03:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980111', 'tblTempUsageDetail_20' ) start [2026-03-26 03:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980111', 'tblTempUsageDetail_20' ) end [2026-03-26 03:02:38] Production.ERROR: pbx prc_insertCDR start [2026-03-26 03:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-26 03:02:38] Production.INFO: ==31586== Releasing lock... [2026-03-26 03:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 03:02:38] Production.INFO: 33.25 MB #Memory Used# [2026-03-26 04:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 01:02:05 [end_date_ymd] => 2026-03-26 04:02:05 [RateCDR] => 1 ) [2026-03-26 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-03-26 01:02:05' and `end` < '2026-03-26 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-03-26 04:02:16] Production.INFO: count ==372 [2026-03-26 04:02:16] Production.ERROR: pbx CDR StartTime 2026-03-26 01:02:05 - End Time 2026-03-26 04:02:05 [2026-03-26 04:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980359', 'tblTempUsageDetail_20' ) start [2026-03-26 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980359', 'tblTempUsageDetail_20' ) end [2026-03-26 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980359', 'tblTempVendorCDR_20' ) start [2026-03-26 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980359', 'tblTempVendorCDR_20' ) end [2026-03-26 04:02:16] Production.INFO: ProcessCDR(1,16980359,1,1,2) [2026-03-26 04:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16980359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 04:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16980359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 04:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16980359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 04:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16980359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 04:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980359', 'tblTempUsageDetail_20' ) start [2026-03-26 04:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980359', 'tblTempUsageDetail_20' ) end [2026-03-26 04:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-26 04:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-26 04:02:37] Production.INFO: ==3789== Releasing lock... [2026-03-26 04:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 04:02:37] Production.INFO: 31.25 MB #Memory Used# [2026-03-26 05:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 02:02:06 [end_date_ymd] => 2026-03-26 05:02:06 [RateCDR] => 1 ) [2026-03-26 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-26 02:02:06' and `end` < '2026-03-26 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-26 05:02:17] Production.INFO: count ==225 [2026-03-26 05:02:17] Production.ERROR: pbx CDR StartTime 2026-03-26 02:02:06 - End Time 2026-03-26 05:02:06 [2026-03-26 05:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980607', 'tblTempUsageDetail_20' ) start [2026-03-26 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980607', 'tblTempUsageDetail_20' ) end [2026-03-26 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980607', 'tblTempVendorCDR_20' ) start [2026-03-26 05:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980607', 'tblTempVendorCDR_20' ) end [2026-03-26 05:02:17] Production.INFO: ProcessCDR(1,16980607,1,1,2) [2026-03-26 05:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16980607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 05:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16980607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 05:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16980607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 05:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16980607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 05:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980607', 'tblTempUsageDetail_20' ) start [2026-03-26 05:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980607', 'tblTempUsageDetail_20' ) end [2026-03-26 05:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-26 05:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-26 05:02:37] Production.INFO: ==8300== Releasing lock... [2026-03-26 05:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 05:02:37] Production.INFO: 30 MB #Memory Used# [2026-03-26 06:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 03:02:05 [end_date_ymd] => 2026-03-26 06:02:05 [RateCDR] => 1 ) [2026-03-26 06: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-26 03:02:05' and `end` < '2026-03-26 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-26 06:02:17] Production.INFO: count ==102 [2026-03-26 06:02:17] Production.ERROR: pbx CDR StartTime 2026-03-26 03:02:05 - End Time 2026-03-26 06:02:05 [2026-03-26 06:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980854', 'tblTempUsageDetail_20' ) start [2026-03-26 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16980854', 'tblTempUsageDetail_20' ) end [2026-03-26 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980854', 'tblTempVendorCDR_20' ) start [2026-03-26 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16980854', 'tblTempVendorCDR_20' ) end [2026-03-26 06:02:17] Production.INFO: ProcessCDR(1,16980854,1,1,2) [2026-03-26 06:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16980854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 06:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16980854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 06:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16980854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 06:02:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16980854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 06:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980854', 'tblTempUsageDetail_20' ) start [2026-03-26 06:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16980854', 'tblTempUsageDetail_20' ) end [2026-03-26 06:02:36] Production.ERROR: pbx prc_insertCDR start [2026-03-26 06:02:36] Production.ERROR: pbx prc_insertCDR end [2026-03-26 06:02:36] Production.INFO: ==12825== Releasing lock... [2026-03-26 06:02:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 06:02:36] Production.INFO: 28.5 MB #Memory Used# [2026-03-26 07:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 04:02:05 [end_date_ymd] => 2026-03-26 07:02:05 [RateCDR] => 1 ) [2026-03-26 07: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-26 04:02:05' and `end` < '2026-03-26 07: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-26 07:02:17] Production.INFO: count ==112 [2026-03-26 07:02:17] Production.ERROR: pbx CDR StartTime 2026-03-26 04:02:05 - End Time 2026-03-26 07:02:05 [2026-03-26 07:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981101', 'tblTempUsageDetail_20' ) start [2026-03-26 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981101', 'tblTempUsageDetail_20' ) end [2026-03-26 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981101', 'tblTempVendorCDR_20' ) start [2026-03-26 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981101', 'tblTempVendorCDR_20' ) end [2026-03-26 07:02:17] Production.INFO: ProcessCDR(1,16981101,1,1,2) [2026-03-26 07:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16981101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 07:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16981101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 07:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16981101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 07:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16981101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 07:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981101', 'tblTempUsageDetail_20' ) start [2026-03-26 07:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981101', 'tblTempUsageDetail_20' ) end [2026-03-26 07:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-26 07:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-26 07:02:37] Production.INFO: ==17400== Releasing lock... [2026-03-26 07:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 07:02:37] Production.INFO: 28.75 MB #Memory Used# [2026-03-26 08:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 05:02:05 [end_date_ymd] => 2026-03-26 08:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 05:02:05' and `end` < '2026-03-26 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-26 08:02:16] Production.INFO: count ==234 [2026-03-26 08:02:17] Production.ERROR: pbx CDR StartTime 2026-03-26 05:02:05 - End Time 2026-03-26 08:02:05 [2026-03-26 08:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981348', 'tblTempUsageDetail_20' ) start [2026-03-26 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981348', 'tblTempUsageDetail_20' ) end [2026-03-26 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981348', 'tblTempVendorCDR_20' ) start [2026-03-26 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981348', 'tblTempVendorCDR_20' ) end [2026-03-26 08:02:17] Production.INFO: ProcessCDR(1,16981348,1,1,2) [2026-03-26 08:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16981348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 08:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16981348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 08:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16981348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 08:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16981348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 08:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981348', 'tblTempUsageDetail_20' ) start [2026-03-26 08:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981348', 'tblTempUsageDetail_20' ) end [2026-03-26 08:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-26 08:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-26 08:02:37] Production.INFO: ==21890== Releasing lock... [2026-03-26 08:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 08:02:37] Production.INFO: 30.5 MB #Memory Used# [2026-03-26 09:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 06:02:06 [end_date_ymd] => 2026-03-26 09:02:06 [RateCDR] => 1 ) [2026-03-26 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-26 06:02:06' and `end` < '2026-03-26 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-26 09:02:17] Production.INFO: count ==735 [2026-03-26 09:02:17] Production.ERROR: pbx CDR StartTime 2026-03-26 06:02:06 - End Time 2026-03-26 09:02:06 [2026-03-26 09:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981595', 'tblTempUsageDetail_20' ) start [2026-03-26 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981595', 'tblTempUsageDetail_20' ) end [2026-03-26 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981595', 'tblTempVendorCDR_20' ) start [2026-03-26 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981595', 'tblTempVendorCDR_20' ) end [2026-03-26 09:02:18] Production.INFO: ProcessCDR(1,16981595,1,1,2) [2026-03-26 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16981595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 09:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16981595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 09:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16981595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 09:02:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16981595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 09:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981595', 'tblTempUsageDetail_20' ) start [2026-03-26 09:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981595', 'tblTempUsageDetail_20' ) end [2026-03-26 09:02:39] Production.ERROR: pbx prc_insertCDR start [2026-03-26 09:02:39] Production.ERROR: pbx prc_insertCDR end [2026-03-26 09:02:39] Production.INFO: ==26255== Releasing lock... [2026-03-26 09:02:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 09:02:39] Production.INFO: 34.25 MB #Memory Used# [2026-03-26 10:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 07:02:05 [end_date_ymd] => 2026-03-26 10:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 07:02:05' and `end` < '2026-03-26 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-26 10:02:17] Production.INFO: count ==2252 [2026-03-26 10:02:18] Production.ERROR: pbx CDR StartTime 2026-03-26 07:02:05 - End Time 2026-03-26 10:02:05 [2026-03-26 10:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981842', 'tblTempUsageDetail_20' ) start [2026-03-26 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16981842', 'tblTempUsageDetail_20' ) end [2026-03-26 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981842', 'tblTempVendorCDR_20' ) start [2026-03-26 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16981842', 'tblTempVendorCDR_20' ) end [2026-03-26 10:02:18] Production.INFO: ProcessCDR(1,16981842,1,1,2) [2026-03-26 10:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16981842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 10:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16981842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 10:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16981842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 10:02:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16981842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 10:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981842', 'tblTempUsageDetail_20' ) start [2026-03-26 10:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16981842', 'tblTempUsageDetail_20' ) end [2026-03-26 10:02:41] Production.ERROR: pbx prc_insertCDR start [2026-03-26 10:02:43] Production.ERROR: pbx prc_insertCDR end [2026-03-26 10:02:43] Production.INFO: ==30570== Releasing lock... [2026-03-26 10:02:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 10:02:43] Production.INFO: 45.25 MB #Memory Used# [2026-03-26 11:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 08:02:05 [end_date_ymd] => 2026-03-26 11:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 08:02:05' and `end` < '2026-03-26 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-26 11:02:19] Production.INFO: count ==3749 [2026-03-26 11:02:21] Production.ERROR: pbx CDR StartTime 2026-03-26 08:02:05 - End Time 2026-03-26 11:02:05 [2026-03-26 11:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 11:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982089', 'tblTempUsageDetail_20' ) start [2026-03-26 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982089', 'tblTempUsageDetail_20' ) end [2026-03-26 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982089', 'tblTempVendorCDR_20' ) start [2026-03-26 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982089', 'tblTempVendorCDR_20' ) end [2026-03-26 11:02:22] Production.INFO: ProcessCDR(1,16982089,1,1,2) [2026-03-26 11:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16982089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 11:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16982089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 11:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16982089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 11:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16982089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 11:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982089', 'tblTempUsageDetail_20' ) start [2026-03-26 11:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982089', 'tblTempUsageDetail_20' ) end [2026-03-26 11:02:44] Production.ERROR: pbx prc_insertCDR start [2026-03-26 11:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-26 11:02:47] Production.INFO: ==2659== Releasing lock... [2026-03-26 11:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 11:02:47] Production.INFO: 56.75 MB #Memory Used# [2026-03-26 12:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 09:02:05 [end_date_ymd] => 2026-03-26 12:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 09:02:05' and `end` < '2026-03-26 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-26 12:02:19] Production.INFO: count ==5033 [2026-03-26 12:02:21] Production.ERROR: pbx CDR StartTime 2026-03-26 09:02:05 - End Time 2026-03-26 12:02:05 [2026-03-26 12:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982336', 'tblTempUsageDetail_20' ) start [2026-03-26 12:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982336', 'tblTempUsageDetail_20' ) end [2026-03-26 12:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982336', 'tblTempVendorCDR_20' ) start [2026-03-26 12:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982336', 'tblTempVendorCDR_20' ) end [2026-03-26 12:02:22] Production.INFO: ProcessCDR(1,16982336,1,1,2) [2026-03-26 12:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16982336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 12:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16982336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 12:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16982336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 12:02:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16982336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 12:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982336', 'tblTempUsageDetail_20' ) start [2026-03-26 12:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982336', 'tblTempUsageDetail_20' ) end [2026-03-26 12:02:42] Production.ERROR: pbx prc_insertCDR start [2026-03-26 12:02:46] Production.ERROR: pbx prc_insertCDR end [2026-03-26 12:02:46] Production.INFO: ==7173== Releasing lock... [2026-03-26 12:02:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 12:02:46] Production.INFO: 66 MB #Memory Used# [2026-03-26 13:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 10:02:05 [end_date_ymd] => 2026-03-26 13:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 10:02:05' and `end` < '2026-03-26 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-26 13:02:18] Production.INFO: count ==5108 [2026-03-26 13:02:20] Production.ERROR: pbx CDR StartTime 2026-03-26 10:02:05 - End Time 2026-03-26 13:02:05 [2026-03-26 13:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 13:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982583', 'tblTempUsageDetail_20' ) start [2026-03-26 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982583', 'tblTempUsageDetail_20' ) end [2026-03-26 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982583', 'tblTempVendorCDR_20' ) start [2026-03-26 13:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982583', 'tblTempVendorCDR_20' ) end [2026-03-26 13:02:21] Production.INFO: ProcessCDR(1,16982583,1,1,2) [2026-03-26 13:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16982583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 13:02:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16982583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 13:02:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16982583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 13:02:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16982583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 13:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982583', 'tblTempUsageDetail_20' ) start [2026-03-26 13:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982583', 'tblTempUsageDetail_20' ) end [2026-03-26 13:02:42] Production.ERROR: pbx prc_insertCDR start [2026-03-26 13:02:45] Production.ERROR: pbx prc_insertCDR end [2026-03-26 13:02:45] Production.INFO: ==11776== Releasing lock... [2026-03-26 13:02:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 13:02:45] Production.INFO: 66.5 MB #Memory Used# [2026-03-26 14:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 11:02:05 [end_date_ymd] => 2026-03-26 14:02:05 [RateCDR] => 1 ) [2026-03-26 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-03-26 11:02:05' and `end` < '2026-03-26 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-03-26 14:02:17] Production.INFO: count ==5162 [2026-03-26 14:02:20] Production.ERROR: pbx CDR StartTime 2026-03-26 11:02:05 - End Time 2026-03-26 14:02:05 [2026-03-26 14:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 14:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982830', 'tblTempUsageDetail_20' ) start [2026-03-26 14:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16982830', 'tblTempUsageDetail_20' ) end [2026-03-26 14:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982830', 'tblTempVendorCDR_20' ) start [2026-03-26 14:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16982830', 'tblTempVendorCDR_20' ) end [2026-03-26 14:02:20] Production.INFO: ProcessCDR(1,16982830,1,1,2) [2026-03-26 14:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16982830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 14:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16982830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 14:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16982830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 14:02:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16982830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 14:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982830', 'tblTempUsageDetail_20' ) start [2026-03-26 14:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16982830', 'tblTempUsageDetail_20' ) end [2026-03-26 14:02:42] Production.ERROR: pbx prc_insertCDR start [2026-03-26 14:02:44] Production.ERROR: pbx prc_insertCDR end [2026-03-26 14:02:44] Production.INFO: ==16252== Releasing lock... [2026-03-26 14:02:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 14:02:44] Production.INFO: 66.75 MB #Memory Used# [2026-03-26 15:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 12:02:05 [end_date_ymd] => 2026-03-26 15:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 12:02:05' and `end` < '2026-03-26 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-26 15:02:20] Production.INFO: count ==5323 [2026-03-26 15:02:22] Production.ERROR: pbx CDR StartTime 2026-03-26 12:02:05 - End Time 2026-03-26 15:02:05 [2026-03-26 15:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 15:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983077', 'tblTempUsageDetail_20' ) start [2026-03-26 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983077', 'tblTempUsageDetail_20' ) end [2026-03-26 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983077', 'tblTempVendorCDR_20' ) start [2026-03-26 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983077', 'tblTempVendorCDR_20' ) end [2026-03-26 15:02:23] Production.INFO: ProcessCDR(1,16983077,1,1,2) [2026-03-26 15:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16983077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 15:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16983077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 15:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16983077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 15:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16983077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 15:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983077', 'tblTempUsageDetail_20' ) start [2026-03-26 15:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983077', 'tblTempUsageDetail_20' ) end [2026-03-26 15:02:45] Production.ERROR: pbx prc_insertCDR start [2026-03-26 15:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-26 15:02:47] Production.INFO: ==20710== Releasing lock... [2026-03-26 15:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 15:02:47] Production.INFO: 68 MB #Memory Used# [2026-03-26 16:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 13:02:06 [end_date_ymd] => 2026-03-26 16:02:06 [RateCDR] => 1 ) [2026-03-26 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-26 13:02:06' and `end` < '2026-03-26 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-26 16:02:18] Production.INFO: count ==5864 [2026-03-26 16:02:21] Production.ERROR: pbx CDR StartTime 2026-03-26 13:02:06 - End Time 2026-03-26 16:02:06 [2026-03-26 16:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983324', 'tblTempUsageDetail_20' ) start [2026-03-26 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983324', 'tblTempUsageDetail_20' ) end [2026-03-26 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983324', 'tblTempVendorCDR_20' ) start [2026-03-26 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983324', 'tblTempVendorCDR_20' ) end [2026-03-26 16:02:22] Production.INFO: ProcessCDR(1,16983324,1,1,2) [2026-03-26 16:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16983324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 16:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16983324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 16:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16983324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 16:02:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16983324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 16:02:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983324', 'tblTempUsageDetail_20' ) start [2026-03-26 16:02:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983324', 'tblTempUsageDetail_20' ) end [2026-03-26 16:02:43] Production.ERROR: pbx prc_insertCDR start [2026-03-26 16:02:45] Production.ERROR: pbx prc_insertCDR end [2026-03-26 16:02:45] Production.INFO: ==26200== Releasing lock... [2026-03-26 16:02:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 16:02:45] Production.INFO: 72.25 MB #Memory Used# [2026-03-26 17:02:07] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 14:02:07 [end_date_ymd] => 2026-03-26 17:02:07 [RateCDR] => 1 ) [2026-03-26 17:02:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-26 14:02:07' and `end` < '2026-03-26 17:02:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-26 17:02:24] Production.INFO: count ==5939 [2026-03-26 17:02:28] Production.ERROR: pbx CDR StartTime 2026-03-26 14:02:07 - End Time 2026-03-26 17:02:07 [2026-03-26 17:02:28] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 17:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983571', 'tblTempUsageDetail_20' ) start [2026-03-26 17:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983571', 'tblTempUsageDetail_20' ) end [2026-03-26 17:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983571', 'tblTempVendorCDR_20' ) start [2026-03-26 17:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983571', 'tblTempVendorCDR_20' ) end [2026-03-26 17:02:28] Production.INFO: ProcessCDR(1,16983571,1,1,2) [2026-03-26 17:02:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16983571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 17:02:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16983571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 17:02:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16983571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 17:02:50] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16983571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 17:02:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983571', 'tblTempUsageDetail_20' ) start [2026-03-26 17:02:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983571', 'tblTempUsageDetail_20' ) end [2026-03-26 17:02:51] Production.ERROR: pbx prc_insertCDR start [2026-03-26 17:02:54] Production.ERROR: pbx prc_insertCDR end [2026-03-26 17:02:54] Production.INFO: ==31174== Releasing lock... [2026-03-26 17:02:54] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 17:02:54] Production.INFO: 72.75 MB #Memory Used# [2026-03-26 18:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 15:02:06 [end_date_ymd] => 2026-03-26 18:02:06 [RateCDR] => 1 ) [2026-03-26 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-26 15:02:06' and `end` < '2026-03-26 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-26 18:02:19] Production.INFO: count ==5311 [2026-03-26 18:02:21] Production.ERROR: pbx CDR StartTime 2026-03-26 15:02:06 - End Time 2026-03-26 18:02:06 [2026-03-26 18:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 18:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983818', 'tblTempUsageDetail_20' ) start [2026-03-26 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16983818', 'tblTempUsageDetail_20' ) end [2026-03-26 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983818', 'tblTempVendorCDR_20' ) start [2026-03-26 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16983818', 'tblTempVendorCDR_20' ) end [2026-03-26 18:02:22] Production.INFO: ProcessCDR(1,16983818,1,1,2) [2026-03-26 18:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16983818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 18:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16983818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 18:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16983818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 18:02:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16983818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 18:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983818', 'tblTempUsageDetail_20' ) start [2026-03-26 18:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16983818', 'tblTempUsageDetail_20' ) end [2026-03-26 18:02:45] Production.ERROR: pbx prc_insertCDR start [2026-03-26 18:02:48] Production.ERROR: pbx prc_insertCDR end [2026-03-26 18:02:48] Production.INFO: ==3196== Releasing lock... [2026-03-26 18:02:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 18:02:48] Production.INFO: 68 MB #Memory Used# [2026-03-26 19:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 16:02:05 [end_date_ymd] => 2026-03-26 19:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 16:02:05' and `end` < '2026-03-26 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-26 19:02:17] Production.INFO: count ==4039 [2026-03-26 19:02:19] Production.ERROR: pbx CDR StartTime 2026-03-26 16:02:05 - End Time 2026-03-26 19:02:05 [2026-03-26 19:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984062', 'tblTempUsageDetail_20' ) start [2026-03-26 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984062', 'tblTempUsageDetail_20' ) end [2026-03-26 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984062', 'tblTempVendorCDR_20' ) start [2026-03-26 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984062', 'tblTempVendorCDR_20' ) end [2026-03-26 19:02:20] Production.INFO: ProcessCDR(1,16984062,1,1,2) [2026-03-26 19:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16984062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 19:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16984062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 19:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16984062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 19:02:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16984062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 19:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984062', 'tblTempUsageDetail_20' ) start [2026-03-26 19:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984062', 'tblTempUsageDetail_20' ) end [2026-03-26 19:02:41] Production.ERROR: pbx prc_insertCDR start [2026-03-26 19:02:42] Production.ERROR: pbx prc_insertCDR end [2026-03-26 19:02:42] Production.INFO: ==7908== Releasing lock... [2026-03-26 19:02:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 19:02:42] Production.INFO: 58.25 MB #Memory Used# [2026-03-26 20:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 17:02:06 [end_date_ymd] => 2026-03-26 20:02:06 [RateCDR] => 1 ) [2026-03-26 20: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-26 17:02:06' and `end` < '2026-03-26 20: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-26 20:02:18] Production.INFO: count ==2813 [2026-03-26 20:02:19] Production.ERROR: pbx CDR StartTime 2026-03-26 17:02:06 - End Time 2026-03-26 20:02:06 [2026-03-26 20:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984309', 'tblTempUsageDetail_20' ) start [2026-03-26 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984309', 'tblTempUsageDetail_20' ) end [2026-03-26 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984309', 'tblTempVendorCDR_20' ) start [2026-03-26 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984309', 'tblTempVendorCDR_20' ) end [2026-03-26 20:02:19] Production.INFO: ProcessCDR(1,16984309,1,1,2) [2026-03-26 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16984309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 20:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16984309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 20:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16984309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 20:02:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16984309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 20:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984309', 'tblTempUsageDetail_20' ) start [2026-03-26 20:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984309', 'tblTempUsageDetail_20' ) end [2026-03-26 20:02:40] Production.ERROR: pbx prc_insertCDR start [2026-03-26 20:02:40] Production.ERROR: pbx prc_insertCDR end [2026-03-26 20:02:40] Production.INFO: ==13096== Releasing lock... [2026-03-26 20:02:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 20:02:40] Production.INFO: 49.75 MB #Memory Used# [2026-03-26 21:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 18:02:05 [end_date_ymd] => 2026-03-26 21:02:05 [RateCDR] => 1 ) [2026-03-26 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-03-26 18:02:05' and `end` < '2026-03-26 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-03-26 21:02:17] Production.INFO: count ==2149 [2026-03-26 21:02:18] Production.ERROR: pbx CDR StartTime 2026-03-26 18:02:05 - End Time 2026-03-26 21:02:05 [2026-03-26 21:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984556', 'tblTempUsageDetail_20' ) start [2026-03-26 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984556', 'tblTempUsageDetail_20' ) end [2026-03-26 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984556', 'tblTempVendorCDR_20' ) start [2026-03-26 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984556', 'tblTempVendorCDR_20' ) end [2026-03-26 21:02:18] Production.INFO: ProcessCDR(1,16984556,1,1,2) [2026-03-26 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16984556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 21:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16984556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 21:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16984556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 21:02:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16984556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 21:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984556', 'tblTempUsageDetail_20' ) start [2026-03-26 21:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984556', 'tblTempUsageDetail_20' ) end [2026-03-26 21:02:39] Production.ERROR: pbx prc_insertCDR start [2026-03-26 21:02:39] Production.ERROR: pbx prc_insertCDR end [2026-03-26 21:02:39] Production.INFO: ==17501== Releasing lock... [2026-03-26 21:02:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 21:02:39] Production.INFO: 44.25 MB #Memory Used# [2026-03-26 22:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 19:02:05 [end_date_ymd] => 2026-03-26 22:02:05 [RateCDR] => 1 ) [2026-03-26 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-26 19:02:05' and `end` < '2026-03-26 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-26 22:02:16] Production.INFO: count ==1637 [2026-03-26 22:02:17] Production.ERROR: pbx CDR StartTime 2026-03-26 19:02:05 - End Time 2026-03-26 22:02:05 [2026-03-26 22:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984803', 'tblTempUsageDetail_20' ) start [2026-03-26 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16984803', 'tblTempUsageDetail_20' ) end [2026-03-26 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984803', 'tblTempVendorCDR_20' ) start [2026-03-26 22:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16984803', 'tblTempVendorCDR_20' ) end [2026-03-26 22:02:17] Production.INFO: ProcessCDR(1,16984803,1,1,2) [2026-03-26 22:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16984803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 22:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16984803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 22:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16984803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 22:02:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16984803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 22:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984803', 'tblTempUsageDetail_20' ) start [2026-03-26 22:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16984803', 'tblTempUsageDetail_20' ) end [2026-03-26 22:02:38] Production.ERROR: pbx prc_insertCDR start [2026-03-26 22:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-26 22:02:38] Production.INFO: ==22042== Releasing lock... [2026-03-26 22:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 22:02:38] Production.INFO: 40.5 MB #Memory Used# [2026-03-26 23:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-26 20:02:06 [end_date_ymd] => 2026-03-26 23:02:06 [RateCDR] => 1 ) [2026-03-26 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-03-26 20:02:06' and `end` < '2026-03-26 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-03-26 23:02:17] Production.INFO: count ==1428 [2026-03-26 23:02:18] Production.ERROR: pbx CDR StartTime 2026-03-26 20:02:06 - End Time 2026-03-26 23:02:06 [2026-03-26 23:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-26 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16985050', 'tblTempUsageDetail_20' ) start [2026-03-26 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16985050', 'tblTempUsageDetail_20' ) end [2026-03-26 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16985050', 'tblTempVendorCDR_20' ) start [2026-03-26 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16985050', 'tblTempVendorCDR_20' ) end [2026-03-26 23:02:18] Production.INFO: ProcessCDR(1,16985050,1,1,2) [2026-03-26 23:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16985050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 23:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16985050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-26 23:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16985050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 23:02:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16985050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-26 23:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16985050', 'tblTempUsageDetail_20' ) start [2026-03-26 23:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16985050', 'tblTempUsageDetail_20' ) end [2026-03-26 23:02:39] Production.ERROR: pbx prc_insertCDR start [2026-03-26 23:02:40] Production.ERROR: pbx prc_insertCDR end [2026-03-26 23:02:40] Production.INFO: ==26696== Releasing lock... [2026-03-26 23:02:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-26 23:02:40] Production.INFO: 38.75 MB #Memory Used#