[2026-01-18 00:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 21:01:05 [end_date_ymd] => 2026-01-18 00:01:05 [RateCDR] => 1 ) [2026-01-18 00:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-17 21:01:05' and `end` < '2026-01-18 00:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 00:01:30] Production.INFO: count ==1183 [2026-01-18 00:01:31] Production.ERROR: pbx CDR StartTime 2026-01-17 21:01:05 - End Time 2026-01-18 00:01:05 [2026-01-18 00:01:31] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 00:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582443', 'tblTempUsageDetail_20' ) start [2026-01-18 00:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582443', 'tblTempUsageDetail_20' ) end [2026-01-18 00:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582443', 'tblTempVendorCDR_20' ) start [2026-01-18 00:01:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582443', 'tblTempVendorCDR_20' ) end [2026-01-18 00:01:31] Production.INFO: ProcessCDR(1,16582443,1,1,2) [2026-01-18 00:01:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16582443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 00:04:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16582443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 00:04:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16582443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 00:08:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16582443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 00:08:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582443', 'tblTempUsageDetail_20' ) start [2026-01-18 00:08:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582443', 'tblTempUsageDetail_20' ) end [2026-01-18 00:08:33] Production.ERROR: pbx prc_insertCDR start [2026-01-18 00:08:34] Production.ERROR: pbx prc_insertCDR end [2026-01-18 00:09:25] Production.INFO: ==31440== Releasing lock... [2026-01-18 00:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 00:09:25] Production.INFO: 39.75 MB #Memory Used# [2026-01-18 01:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 22:01:05 [end_date_ymd] => 2026-01-18 01:01:05 [RateCDR] => 1 ) [2026-01-18 01:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-17 22:01:05' and `end` < '2026-01-18 01:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 01:01:18] Production.INFO: count ==772 [2026-01-18 01:01:18] Production.ERROR: pbx CDR StartTime 2026-01-17 22:01:05 - End Time 2026-01-18 01:01:05 [2026-01-18 01:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582690', 'tblTempUsageDetail_20' ) start [2026-01-18 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582690', 'tblTempUsageDetail_20' ) end [2026-01-18 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582690', 'tblTempVendorCDR_20' ) start [2026-01-18 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582690', 'tblTempVendorCDR_20' ) end [2026-01-18 01:01:18] Production.INFO: ProcessCDR(1,16582690,1,1,2) [2026-01-18 01:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16582690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 01:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16582690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 01:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16582690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 01:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16582690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 01:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582690', 'tblTempUsageDetail_20' ) start [2026-01-18 01:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582690', 'tblTempUsageDetail_20' ) end [2026-01-18 01:08:27] Production.ERROR: pbx prc_insertCDR start [2026-01-18 01:08:28] Production.ERROR: pbx prc_insertCDR end [2026-01-18 01:08:28] Production.INFO: ==3445== Releasing lock... [2026-01-18 01:08:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 01:08:28] Production.INFO: 34.25 MB #Memory Used# [2026-01-18 02:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-17 23:01:06 [end_date_ymd] => 2026-01-18 02:01:06 [RateCDR] => 1 ) [2026-01-18 02:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-17 23:01:06' and `end` < '2026-01-18 02:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 02:01:18] Production.INFO: count ==773 [2026-01-18 02:01:18] Production.ERROR: pbx CDR StartTime 2026-01-17 23:01:06 - End Time 2026-01-18 02:01:06 [2026-01-18 02:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582937', 'tblTempUsageDetail_20' ) start [2026-01-18 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16582937', 'tblTempUsageDetail_20' ) end [2026-01-18 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582937', 'tblTempVendorCDR_20' ) start [2026-01-18 02:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16582937', 'tblTempVendorCDR_20' ) end [2026-01-18 02:01:19] Production.INFO: ProcessCDR(1,16582937,1,1,2) [2026-01-18 02:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16582937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 02:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16582937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 02:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16582937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 02:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16582937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 02:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582937', 'tblTempUsageDetail_20' ) start [2026-01-18 02:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16582937', 'tblTempUsageDetail_20' ) end [2026-01-18 02:08:26] Production.ERROR: pbx prc_insertCDR start [2026-01-18 02:08:26] Production.ERROR: pbx prc_insertCDR end [2026-01-18 02:08:26] Production.INFO: ==7817== Releasing lock... [2026-01-18 02:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 02:08:26] Production.INFO: 34.25 MB #Memory Used# [2026-01-18 03:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 00:01:06 [end_date_ymd] => 2026-01-18 03:01:06 [RateCDR] => 1 ) [2026-01-18 03:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 00:01:06' and `end` < '2026-01-18 03:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 03:01:19] Production.INFO: count ==745 [2026-01-18 03:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 00:01:06 - End Time 2026-01-18 03:01:06 [2026-01-18 03:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583184', 'tblTempUsageDetail_20' ) start [2026-01-18 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583184', 'tblTempUsageDetail_20' ) end [2026-01-18 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583184', 'tblTempVendorCDR_20' ) start [2026-01-18 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583184', 'tblTempVendorCDR_20' ) end [2026-01-18 03:01:19] Production.INFO: ProcessCDR(1,16583184,1,1,2) [2026-01-18 03:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16583184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 03:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16583184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 03:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16583184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 03:08:14] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16583184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 03:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583184', 'tblTempUsageDetail_20' ) start [2026-01-18 03:08:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583184', 'tblTempUsageDetail_20' ) end [2026-01-18 03:08:14] Production.ERROR: pbx prc_insertCDR start [2026-01-18 03:08:14] Production.ERROR: pbx prc_insertCDR end [2026-01-18 03:08:14] Production.INFO: ==13554== Releasing lock... [2026-01-18 03:08:14] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 03:08:14] Production.INFO: 33.75 MB #Memory Used# [2026-01-18 04:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 01:01:07 [end_date_ymd] => 2026-01-18 04:01:07 [RateCDR] => 1 ) [2026-01-18 04:01: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-01-18 01:01:07' and `end` < '2026-01-18 04:01:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 04:01:18] Production.INFO: count ==554 [2026-01-18 04:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 01:01:07 - End Time 2026-01-18 04:01:07 [2026-01-18 04:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583432', 'tblTempUsageDetail_20' ) start [2026-01-18 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583432', 'tblTempUsageDetail_20' ) end [2026-01-18 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583432', 'tblTempVendorCDR_20' ) start [2026-01-18 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583432', 'tblTempVendorCDR_20' ) end [2026-01-18 04:01:19] Production.INFO: ProcessCDR(1,16583432,1,1,2) [2026-01-18 04:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16583432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 04:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16583432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 04:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16583432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 04:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16583432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583432', 'tblTempUsageDetail_20' ) start [2026-01-18 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583432', 'tblTempUsageDetail_20' ) end [2026-01-18 04:08:21] Production.ERROR: pbx prc_insertCDR start [2026-01-18 04:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-18 04:08:21] Production.INFO: ==18311== Releasing lock... [2026-01-18 04:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 04:08:21] Production.INFO: 32.75 MB #Memory Used# [2026-01-18 05:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 02:01:06 [end_date_ymd] => 2026-01-18 05:01:06 [RateCDR] => 1 ) [2026-01-18 05:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 02:01:06' and `end` < '2026-01-18 05:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 05:01:18] Production.INFO: count ==421 [2026-01-18 05:01:18] Production.ERROR: pbx CDR StartTime 2026-01-18 02:01:06 - End Time 2026-01-18 05:01:06 [2026-01-18 05:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583679', 'tblTempUsageDetail_20' ) start [2026-01-18 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583679', 'tblTempUsageDetail_20' ) end [2026-01-18 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583679', 'tblTempVendorCDR_20' ) start [2026-01-18 05:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583679', 'tblTempVendorCDR_20' ) end [2026-01-18 05:01:18] Production.INFO: ProcessCDR(1,16583679,1,1,2) [2026-01-18 05:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16583679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 05:04:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16583679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 05:04:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16583679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 05:08:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16583679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 05:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583679', 'tblTempUsageDetail_20' ) start [2026-01-18 05:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583679', 'tblTempUsageDetail_20' ) end [2026-01-18 05:08:32] Production.ERROR: pbx prc_insertCDR start [2026-01-18 05:08:32] Production.ERROR: pbx prc_insertCDR end [2026-01-18 05:08:32] Production.INFO: ==22781== Releasing lock... [2026-01-18 05:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 05:08:32] Production.INFO: 31.5 MB #Memory Used# [2026-01-18 06:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 03:01:06 [end_date_ymd] => 2026-01-18 06:01:06 [RateCDR] => 1 ) [2026-01-18 06:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 03:01:06' and `end` < '2026-01-18 06:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 06:01:18] Production.INFO: count ==295 [2026-01-18 06:01:18] Production.ERROR: pbx CDR StartTime 2026-01-18 03:01:06 - End Time 2026-01-18 06:01:06 [2026-01-18 06:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583927', 'tblTempUsageDetail_20' ) start [2026-01-18 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16583927', 'tblTempUsageDetail_20' ) end [2026-01-18 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583927', 'tblTempVendorCDR_20' ) start [2026-01-18 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16583927', 'tblTempVendorCDR_20' ) end [2026-01-18 06:01:18] Production.INFO: ProcessCDR(1,16583927,1,1,2) [2026-01-18 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16583927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 06:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16583927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 06:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16583927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 06:07:59] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16583927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 06:07:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583927', 'tblTempUsageDetail_20' ) start [2026-01-18 06:07:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16583927', 'tblTempUsageDetail_20' ) end [2026-01-18 06:07:59] Production.ERROR: pbx prc_insertCDR start [2026-01-18 06:07:59] Production.ERROR: pbx prc_insertCDR end [2026-01-18 06:07:59] Production.INFO: ==27362== Releasing lock... [2026-01-18 06:07:59] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 06:07:59] Production.INFO: 31 MB #Memory Used# [2026-01-18 07:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 04:01:06 [end_date_ymd] => 2026-01-18 07:01:06 [RateCDR] => 1 ) [2026-01-18 07:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 04:01:06' and `end` < '2026-01-18 07:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 07:01:19] Production.INFO: count ==185 [2026-01-18 07:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 04:01:06 - End Time 2026-01-18 07:01:06 [2026-01-18 07:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584174', 'tblTempUsageDetail_20' ) start [2026-01-18 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584174', 'tblTempUsageDetail_20' ) end [2026-01-18 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584174', 'tblTempVendorCDR_20' ) start [2026-01-18 07:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584174', 'tblTempVendorCDR_20' ) end [2026-01-18 07:01:19] Production.INFO: ProcessCDR(1,16584174,1,1,2) [2026-01-18 07:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16584174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 07:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16584174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 07:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16584174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 07:08:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16584174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 07:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584174', 'tblTempUsageDetail_20' ) start [2026-01-18 07:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584174', 'tblTempUsageDetail_20' ) end [2026-01-18 07:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-18 07:08:19] Production.ERROR: pbx prc_insertCDR end [2026-01-18 07:08:19] Production.INFO: ==32398== Releasing lock... [2026-01-18 07:08:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 07:08:19] Production.INFO: 29.5 MB #Memory Used# [2026-01-18 08:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 05:01:06 [end_date_ymd] => 2026-01-18 08:01:06 [RateCDR] => 1 ) [2026-01-18 08:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 05:01:06' and `end` < '2026-01-18 08:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 08:01:18] Production.INFO: count ==129 [2026-01-18 08:01:18] Production.ERROR: pbx CDR StartTime 2026-01-18 05:01:06 - End Time 2026-01-18 08:01:06 [2026-01-18 08:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584420', 'tblTempUsageDetail_20' ) start [2026-01-18 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584420', 'tblTempUsageDetail_20' ) end [2026-01-18 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584420', 'tblTempVendorCDR_20' ) start [2026-01-18 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584420', 'tblTempVendorCDR_20' ) end [2026-01-18 08:01:18] Production.INFO: ProcessCDR(1,16584420,1,1,2) [2026-01-18 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16584420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 08:04:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16584420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 08:04:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16584420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 08:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16584420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 08:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584420', 'tblTempUsageDetail_20' ) start [2026-01-18 08:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584420', 'tblTempUsageDetail_20' ) end [2026-01-18 08:08:23] Production.ERROR: pbx prc_insertCDR start [2026-01-18 08:08:23] Production.ERROR: pbx prc_insertCDR end [2026-01-18 08:08:23] Production.INFO: ==4385== Releasing lock... [2026-01-18 08:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 08:08:23] Production.INFO: 29.25 MB #Memory Used# [2026-01-18 09:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 06:01:06 [end_date_ymd] => 2026-01-18 09:01:06 [RateCDR] => 1 ) [2026-01-18 09:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 06:01:06' and `end` < '2026-01-18 09:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 09:01:18] Production.INFO: count ==175 [2026-01-18 09:01:18] Production.ERROR: pbx CDR StartTime 2026-01-18 06:01:06 - End Time 2026-01-18 09:01:06 [2026-01-18 09:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584668', 'tblTempUsageDetail_20' ) start [2026-01-18 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584668', 'tblTempUsageDetail_20' ) end [2026-01-18 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584668', 'tblTempVendorCDR_20' ) start [2026-01-18 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584668', 'tblTempVendorCDR_20' ) end [2026-01-18 09:01:18] Production.INFO: ProcessCDR(1,16584668,1,1,2) [2026-01-18 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16584668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 09:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16584668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 09:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16584668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 09:08:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16584668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 09:08:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584668', 'tblTempUsageDetail_20' ) start [2026-01-18 09:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584668', 'tblTempUsageDetail_20' ) end [2026-01-18 09:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-18 09:08:19] Production.ERROR: pbx prc_insertCDR end [2026-01-18 09:08:19] Production.INFO: ==9012== Releasing lock... [2026-01-18 09:08:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 09:08:19] Production.INFO: 30 MB #Memory Used# [2026-01-18 10:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 07:01:06 [end_date_ymd] => 2026-01-18 10:01:06 [RateCDR] => 1 ) [2026-01-18 10:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 07:01:06' and `end` < '2026-01-18 10:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 10:01:18] Production.INFO: count ==244 [2026-01-18 10:01:18] Production.ERROR: pbx CDR StartTime 2026-01-18 07:01:06 - End Time 2026-01-18 10:01:06 [2026-01-18 10:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584915', 'tblTempUsageDetail_20' ) start [2026-01-18 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16584915', 'tblTempUsageDetail_20' ) end [2026-01-18 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584915', 'tblTempVendorCDR_20' ) start [2026-01-18 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16584915', 'tblTempVendorCDR_20' ) end [2026-01-18 10:01:18] Production.INFO: ProcessCDR(1,16584915,1,1,2) [2026-01-18 10:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16584915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 10:04:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16584915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 10:04:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16584915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 10:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16584915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 10:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584915', 'tblTempUsageDetail_20' ) start [2026-01-18 10:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16584915', 'tblTempUsageDetail_20' ) end [2026-01-18 10:08:24] Production.ERROR: pbx prc_insertCDR start [2026-01-18 10:08:24] Production.ERROR: pbx prc_insertCDR end [2026-01-18 10:08:24] Production.INFO: ==14821== Releasing lock... [2026-01-18 10:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 10:08:24] Production.INFO: 30.25 MB #Memory Used# [2026-01-18 11:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 08:01:07 [end_date_ymd] => 2026-01-18 11:01:07 [RateCDR] => 1 ) [2026-01-18 11:01: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-01-18 08:01:07' and `end` < '2026-01-18 11:01:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 11:01:19] Production.INFO: count ==387 [2026-01-18 11:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 08:01:07 - End Time 2026-01-18 11:01:07 [2026-01-18 11:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585162', 'tblTempUsageDetail_20' ) start [2026-01-18 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585162', 'tblTempUsageDetail_20' ) end [2026-01-18 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585162', 'tblTempVendorCDR_20' ) start [2026-01-18 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585162', 'tblTempVendorCDR_20' ) end [2026-01-18 11:01:19] Production.INFO: ProcessCDR(1,16585162,1,1,2) [2026-01-18 11:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16585162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 11:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16585162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 11:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16585162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 11:08:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16585162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 11:08:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585162', 'tblTempUsageDetail_20' ) start [2026-01-18 11:08:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585162', 'tblTempUsageDetail_20' ) end [2026-01-18 11:08:19] Production.ERROR: pbx prc_insertCDR start [2026-01-18 11:08:19] Production.ERROR: pbx prc_insertCDR end [2026-01-18 11:08:19] Production.INFO: ==19207== Releasing lock... [2026-01-18 11:08:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 11:08:19] Production.INFO: 31.5 MB #Memory Used# [2026-01-18 12:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 09:01:06 [end_date_ymd] => 2026-01-18 12:01:06 [RateCDR] => 1 ) [2026-01-18 12:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 09:01:06' and `end` < '2026-01-18 12:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 12:01:18] Production.INFO: count ==822 [2026-01-18 12:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 09:01:06 - End Time 2026-01-18 12:01:06 [2026-01-18 12:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585409', 'tblTempUsageDetail_20' ) start [2026-01-18 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585409', 'tblTempUsageDetail_20' ) end [2026-01-18 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585409', 'tblTempVendorCDR_20' ) start [2026-01-18 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585409', 'tblTempVendorCDR_20' ) end [2026-01-18 12:01:19] Production.INFO: ProcessCDR(1,16585409,1,1,2) [2026-01-18 12:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16585409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 12:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16585409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 12:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16585409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 12:08:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16585409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 12:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585409', 'tblTempUsageDetail_20' ) start [2026-01-18 12:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585409', 'tblTempUsageDetail_20' ) end [2026-01-18 12:08:28] Production.ERROR: pbx prc_insertCDR start [2026-01-18 12:08:29] Production.ERROR: pbx prc_insertCDR end [2026-01-18 12:08:29] Production.INFO: ==24192== Releasing lock... [2026-01-18 12:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 12:08:29] Production.INFO: 34.5 MB #Memory Used# [2026-01-18 13:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 10:01:07 [end_date_ymd] => 2026-01-18 13:01:07 [RateCDR] => 1 ) [2026-01-18 13:01: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-01-18 10:01:07' and `end` < '2026-01-18 13:01:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 13:01:19] Production.INFO: count ==1003 [2026-01-18 13:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 10:01:07 - End Time 2026-01-18 13:01:07 [2026-01-18 13:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585656', 'tblTempUsageDetail_20' ) start [2026-01-18 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585656', 'tblTempUsageDetail_20' ) end [2026-01-18 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585656', 'tblTempVendorCDR_20' ) start [2026-01-18 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585656', 'tblTempVendorCDR_20' ) end [2026-01-18 13:01:19] Production.INFO: ProcessCDR(1,16585656,1,1,2) [2026-01-18 13:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16585656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 13:04:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16585656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 13:04:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16585656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 13:08:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16585656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 13:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585656', 'tblTempUsageDetail_20' ) start [2026-01-18 13:08:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585656', 'tblTempUsageDetail_20' ) end [2026-01-18 13:08:32] Production.ERROR: pbx prc_insertCDR start [2026-01-18 13:08:32] Production.ERROR: pbx prc_insertCDR end [2026-01-18 13:08:32] Production.INFO: ==29140== Releasing lock... [2026-01-18 13:08:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 13:08:32] Production.INFO: 37 MB #Memory Used# [2026-01-18 14:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 11:01:06 [end_date_ymd] => 2026-01-18 14:01:06 [RateCDR] => 1 ) [2026-01-18 14:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 11:01:06' and `end` < '2026-01-18 14:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 14:01:18] Production.INFO: count ==1188 [2026-01-18 14:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 11:01:06 - End Time 2026-01-18 14:01:06 [2026-01-18 14:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585903', 'tblTempUsageDetail_20' ) start [2026-01-18 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16585903', 'tblTempUsageDetail_20' ) end [2026-01-18 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585903', 'tblTempVendorCDR_20' ) start [2026-01-18 14:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16585903', 'tblTempVendorCDR_20' ) end [2026-01-18 14:01:19] Production.INFO: ProcessCDR(1,16585903,1,1,2) [2026-01-18 14:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16585903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 14:04:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16585903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 14:04:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16585903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 14:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16585903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 14:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585903', 'tblTempUsageDetail_20' ) start [2026-01-18 14:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16585903', 'tblTempUsageDetail_20' ) end [2026-01-18 14:08:28] Production.ERROR: pbx prc_insertCDR start [2026-01-18 14:08:29] Production.ERROR: pbx prc_insertCDR end [2026-01-18 14:08:29] Production.INFO: ==1861== Releasing lock... [2026-01-18 14:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 14:08:29] Production.INFO: 37.5 MB #Memory Used# [2026-01-18 15:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 12:01:06 [end_date_ymd] => 2026-01-18 15:01:06 [RateCDR] => 1 ) [2026-01-18 15:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 12:01:06' and `end` < '2026-01-18 15:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 15:01:19] Production.INFO: count ==1057 [2026-01-18 15:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 12:01:06 - End Time 2026-01-18 15:01:06 [2026-01-18 15:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586150', 'tblTempUsageDetail_20' ) start [2026-01-18 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586150', 'tblTempUsageDetail_20' ) end [2026-01-18 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586150', 'tblTempVendorCDR_20' ) start [2026-01-18 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586150', 'tblTempVendorCDR_20' ) end [2026-01-18 15:01:19] Production.INFO: ProcessCDR(1,16586150,1,1,2) [2026-01-18 15:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16586150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 15:04:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16586150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 15:04:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16586150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 15:08:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16586150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 15:08:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586150', 'tblTempUsageDetail_20' ) start [2026-01-18 15:08:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586150', 'tblTempUsageDetail_20' ) end [2026-01-18 15:08:37] Production.ERROR: pbx prc_insertCDR start [2026-01-18 15:08:37] Production.ERROR: pbx prc_insertCDR end [2026-01-18 15:08:37] Production.INFO: ==6702== Releasing lock... [2026-01-18 15:08:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 15:08:37] Production.INFO: 36.25 MB #Memory Used# [2026-01-18 16:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 13:01:06 [end_date_ymd] => 2026-01-18 16:01:06 [RateCDR] => 1 ) [2026-01-18 16:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 13:01:06' and `end` < '2026-01-18 16:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 16:01:18] Production.INFO: count ==1219 [2026-01-18 16:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 13:01:06 - End Time 2026-01-18 16:01:06 [2026-01-18 16:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586397', 'tblTempUsageDetail_20' ) start [2026-01-18 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586397', 'tblTempUsageDetail_20' ) end [2026-01-18 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586397', 'tblTempVendorCDR_20' ) start [2026-01-18 16:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586397', 'tblTempVendorCDR_20' ) end [2026-01-18 16:01:19] Production.INFO: ProcessCDR(1,16586397,1,1,2) [2026-01-18 16:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16586397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 16:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16586397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 16:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16586397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 16:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16586397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 16:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586397', 'tblTempUsageDetail_20' ) start [2026-01-18 16:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586397', 'tblTempUsageDetail_20' ) end [2026-01-18 16:08:22] Production.ERROR: pbx prc_insertCDR start [2026-01-18 16:08:22] Production.ERROR: pbx prc_insertCDR end [2026-01-18 16:08:22] Production.INFO: ==11273== Releasing lock... [2026-01-18 16:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 16:08:22] Production.INFO: 37.5 MB #Memory Used# [2026-01-18 17:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 14:01:06 [end_date_ymd] => 2026-01-18 17:01:06 [RateCDR] => 1 ) [2026-01-18 17:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 14:01:06' and `end` < '2026-01-18 17:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 17:01:18] Production.INFO: count ==1267 [2026-01-18 17:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 14:01:06 - End Time 2026-01-18 17:01:06 [2026-01-18 17:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586644', 'tblTempUsageDetail_20' ) start [2026-01-18 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586644', 'tblTempUsageDetail_20' ) end [2026-01-18 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586644', 'tblTempVendorCDR_20' ) start [2026-01-18 17:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586644', 'tblTempVendorCDR_20' ) end [2026-01-18 17:01:19] Production.INFO: ProcessCDR(1,16586644,1,1,2) [2026-01-18 17:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16586644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 17:04:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16586644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 17:04:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16586644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 17:08:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16586644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 17:08:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586644', 'tblTempUsageDetail_20' ) start [2026-01-18 17:08:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586644', 'tblTempUsageDetail_20' ) end [2026-01-18 17:08:44] Production.ERROR: pbx prc_insertCDR start [2026-01-18 17:08:46] Production.ERROR: pbx prc_insertCDR end [2026-01-18 17:08:46] Production.INFO: ==16199== Releasing lock... [2026-01-18 17:08:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 17:08:46] Production.INFO: 38.25 MB #Memory Used# [2026-01-18 18:01:05] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 15:01:05 [end_date_ymd] => 2026-01-18 18:01:05 [RateCDR] => 1 ) [2026-01-18 18:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 15:01:05' and `end` < '2026-01-18 18:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 18:01:18] Production.INFO: count ==1358 [2026-01-18 18:01:18] Production.ERROR: pbx CDR StartTime 2026-01-18 15:01:05 - End Time 2026-01-18 18:01:05 [2026-01-18 18:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586889', 'tblTempUsageDetail_20' ) start [2026-01-18 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16586889', 'tblTempUsageDetail_20' ) end [2026-01-18 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586889', 'tblTempVendorCDR_20' ) start [2026-01-18 18:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16586889', 'tblTempVendorCDR_20' ) end [2026-01-18 18:01:18] Production.INFO: ProcessCDR(1,16586889,1,1,2) [2026-01-18 18:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16586889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 18:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16586889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 18:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16586889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 18:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16586889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 18:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586889', 'tblTempUsageDetail_20' ) start [2026-01-18 18:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16586889', 'tblTempUsageDetail_20' ) end [2026-01-18 18:08:23] Production.ERROR: pbx prc_insertCDR start [2026-01-18 18:08:24] Production.ERROR: pbx prc_insertCDR end [2026-01-18 18:08:24] Production.INFO: ==25345== Releasing lock... [2026-01-18 18:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 18:08:24] Production.INFO: 39 MB #Memory Used# [2026-01-18 19:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 16:01:06 [end_date_ymd] => 2026-01-18 19:01:06 [RateCDR] => 1 ) [2026-01-18 19:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 16:01:06' and `end` < '2026-01-18 19:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 19:01:18] Production.INFO: count ==1385 [2026-01-18 19:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 16:01:06 - End Time 2026-01-18 19:01:06 [2026-01-18 19:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587136', 'tblTempUsageDetail_20' ) start [2026-01-18 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587136', 'tblTempUsageDetail_20' ) end [2026-01-18 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587136', 'tblTempVendorCDR_20' ) start [2026-01-18 19:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587136', 'tblTempVendorCDR_20' ) end [2026-01-18 19:01:19] Production.INFO: ProcessCDR(1,16587136,1,1,2) [2026-01-18 19:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16587136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 19:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16587136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 19:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16587136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 19:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16587136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 19:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587136', 'tblTempUsageDetail_20' ) start [2026-01-18 19:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587136', 'tblTempUsageDetail_20' ) end [2026-01-18 19:08:21] Production.ERROR: pbx prc_insertCDR start [2026-01-18 19:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-18 19:08:21] Production.INFO: ==32526== Releasing lock... [2026-01-18 19:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 19:08:21] Production.INFO: 38.5 MB #Memory Used# [2026-01-18 20:01:06] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 17:01:06 [end_date_ymd] => 2026-01-18 20:01:06 [RateCDR] => 1 ) [2026-01-18 20:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-01-18 17:01:06' and `end` < '2026-01-18 20:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 20:01:18] Production.INFO: count ==1405 [2026-01-18 20:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 17:01:06 - End Time 2026-01-18 20:01:06 [2026-01-18 20:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587383', 'tblTempUsageDetail_20' ) start [2026-01-18 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587383', 'tblTempUsageDetail_20' ) end [2026-01-18 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587383', 'tblTempVendorCDR_20' ) start [2026-01-18 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587383', 'tblTempVendorCDR_20' ) end [2026-01-18 20:01:19] Production.INFO: ProcessCDR(1,16587383,1,1,2) [2026-01-18 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16587383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 20:04:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16587383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 20:04:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16587383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 20:08:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16587383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 20:08:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587383', 'tblTempUsageDetail_20' ) start [2026-01-18 20:08:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587383', 'tblTempUsageDetail_20' ) end [2026-01-18 20:08:31] Production.ERROR: pbx prc_insertCDR start [2026-01-18 20:08:31] Production.ERROR: pbx prc_insertCDR end [2026-01-18 20:08:31] Production.INFO: ==4746== Releasing lock... [2026-01-18 20:08:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 20:08:31] Production.INFO: 38.75 MB #Memory Used# [2026-01-18 21:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 18:01:07 [end_date_ymd] => 2026-01-18 21:01:07 [RateCDR] => 1 ) [2026-01-18 21:01: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-01-18 18:01:07' and `end` < '2026-01-18 21:01:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 21:01:19] Production.INFO: count ==1254 [2026-01-18 21:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 18:01:07 - End Time 2026-01-18 21:01:07 [2026-01-18 21:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587630', 'tblTempUsageDetail_20' ) start [2026-01-18 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587630', 'tblTempUsageDetail_20' ) end [2026-01-18 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587630', 'tblTempVendorCDR_20' ) start [2026-01-18 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587630', 'tblTempVendorCDR_20' ) end [2026-01-18 21:01:19] Production.INFO: ProcessCDR(1,16587630,1,1,2) [2026-01-18 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16587630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 21:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16587630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 21:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16587630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 21:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16587630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 21:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587630', 'tblTempUsageDetail_20' ) start [2026-01-18 21:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587630', 'tblTempUsageDetail_20' ) end [2026-01-18 21:08:27] Production.ERROR: pbx prc_insertCDR start [2026-01-18 21:08:27] Production.ERROR: pbx prc_insertCDR end [2026-01-18 21:08:27] Production.INFO: ==9312== Releasing lock... [2026-01-18 21:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 21:08:27] Production.INFO: 37.75 MB #Memory Used# [2026-01-18 22:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 19:01:07 [end_date_ymd] => 2026-01-18 22:01:07 [RateCDR] => 1 ) [2026-01-18 22:01: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-01-18 19:01:07' and `end` < '2026-01-18 22:01:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 22:01:19] Production.INFO: count ==1089 [2026-01-18 22:01:20] Production.ERROR: pbx CDR StartTime 2026-01-18 19:01:07 - End Time 2026-01-18 22:01:07 [2026-01-18 22:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 22:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587877', 'tblTempUsageDetail_20' ) start [2026-01-18 22:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16587877', 'tblTempUsageDetail_20' ) end [2026-01-18 22:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587877', 'tblTempVendorCDR_20' ) start [2026-01-18 22:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16587877', 'tblTempVendorCDR_20' ) end [2026-01-18 22:01:20] Production.INFO: ProcessCDR(1,16587877,1,1,2) [2026-01-18 22:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16587877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 22:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16587877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 22:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16587877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 22:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16587877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587877', 'tblTempUsageDetail_20' ) start [2026-01-18 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16587877', 'tblTempUsageDetail_20' ) end [2026-01-18 22:08:21] Production.ERROR: pbx prc_insertCDR start [2026-01-18 22:08:21] Production.ERROR: pbx prc_insertCDR end [2026-01-18 22:08:21] Production.INFO: ==14441== Releasing lock... [2026-01-18 22:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 22:08:21] Production.INFO: 36.75 MB #Memory Used# [2026-01-18 23:01:07] Production.ERROR: Array ( [start_date_ymd] => 2026-01-18 20:01:07 [end_date_ymd] => 2026-01-18 23:01:07 [RateCDR] => 1 ) [2026-01-18 23:01: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-01-18 20:01:07' and `end` < '2026-01-18 23:01:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-01-18 23:01:19] Production.INFO: count ==880 [2026-01-18 23:01:19] Production.ERROR: pbx CDR StartTime 2026-01-18 20:01:07 - End Time 2026-01-18 23:01:07 [2026-01-18 23:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-01-18 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16588124', 'tblTempUsageDetail_20' ) start [2026-01-18 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16588124', 'tblTempUsageDetail_20' ) end [2026-01-18 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16588124', 'tblTempVendorCDR_20' ) start [2026-01-18 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16588124', 'tblTempVendorCDR_20' ) end [2026-01-18 23:01:19] Production.INFO: ProcessCDR(1,16588124,1,1,2) [2026-01-18 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16588124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 23:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16588124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-01-18 23:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16588124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 23:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16588124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-01-18 23:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16588124', 'tblTempUsageDetail_20' ) start [2026-01-18 23:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16588124', 'tblTempUsageDetail_20' ) end [2026-01-18 23:08:24] Production.ERROR: pbx prc_insertCDR start [2026-01-18 23:08:25] Production.ERROR: pbx prc_insertCDR end [2026-01-18 23:08:25] Production.INFO: ==19105== Releasing lock... [2026-01-18 23:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-01-18 23:08:25] Production.INFO: 35.25 MB #Memory Used#