[2025-11-26 00:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-25 21:00:06 [end_date_ymd] => 2025-11-26 00:00:06 [RateCDR] => 1 ) [2025-11-26 00:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-25 21:00:06' and `end` < '2025-11-26 00:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 00:00:19] Production.INFO: count ==822 [2025-11-26 00:00:19] Production.ERROR: pbx CDR StartTime 2025-11-25 21:00:06 - End Time 2025-11-26 00:00:06 [2025-11-26 00:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 00:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16268271', 'tblTempUsageDetail_20' ) start [2025-11-26 00:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16268271', 'tblTempUsageDetail_20' ) end [2025-11-26 00:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16268271', 'tblTempVendorCDR_20' ) start [2025-11-26 00:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16268271', 'tblTempVendorCDR_20' ) end [2025-11-26 00:00:19] Production.INFO: ProcessCDR(1,16268271,1,1,2) [2025-11-26 00:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16268271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 00:02:59] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16268271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 00:02:59] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16268271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 00:06:10] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16268271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 00:06:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16268271', 'tblTempUsageDetail_20' ) start [2025-11-26 00:06:10] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16268271', 'tblTempUsageDetail_20' ) end [2025-11-26 00:06:10] Production.ERROR: pbx prc_insertCDR start [2025-11-26 00:06:11] Production.ERROR: pbx prc_insertCDR end [2025-11-26 00:06:15] Production.INFO: ==352== Releasing lock... [2025-11-26 00:06:15] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 00:06:15] Production.INFO: 37.5 MB #Memory Used# [2025-11-26 01:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-25 22:00:06 [end_date_ymd] => 2025-11-26 01:00:06 [RateCDR] => 1 ) [2025-11-26 01:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-25 22:00:06' and `end` < '2025-11-26 01:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 01:00:18] Production.INFO: count ==409 [2025-11-26 01:00:18] Production.ERROR: pbx CDR StartTime 2025-11-25 22:00:06 - End Time 2025-11-26 01:00:06 [2025-11-26 01:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16268518', 'tblTempUsageDetail_20' ) start [2025-11-26 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16268518', 'tblTempUsageDetail_20' ) end [2025-11-26 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16268518', 'tblTempVendorCDR_20' ) start [2025-11-26 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16268518', 'tblTempVendorCDR_20' ) end [2025-11-26 01:00:18] Production.INFO: ProcessCDR(1,16268518,1,1,2) [2025-11-26 01:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16268518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 01:02:48] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16268518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 01:02:48] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16268518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 01:05:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16268518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 01:05:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16268518', 'tblTempUsageDetail_20' ) start [2025-11-26 01:05:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16268518', 'tblTempUsageDetail_20' ) end [2025-11-26 01:05:56] Production.ERROR: pbx prc_insertCDR start [2025-11-26 01:05:56] Production.ERROR: pbx prc_insertCDR end [2025-11-26 01:05:56] Production.INFO: ==4898== Releasing lock... [2025-11-26 01:05:56] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 01:05:56] Production.INFO: 31.75 MB #Memory Used# [2025-11-26 02:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-11-25 23:00:07 [end_date_ymd] => 2025-11-26 02:00:07 [RateCDR] => 1 ) [2025-11-26 02:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-25 23:00:07' and `end` < '2025-11-26 02:00:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 02:00:19] Production.INFO: count ==395 [2025-11-26 02:00:19] Production.ERROR: pbx CDR StartTime 2025-11-25 23:00:07 - End Time 2025-11-26 02:00:07 [2025-11-26 02:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16268765', 'tblTempUsageDetail_20' ) start [2025-11-26 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16268765', 'tblTempUsageDetail_20' ) end [2025-11-26 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16268765', 'tblTempVendorCDR_20' ) start [2025-11-26 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16268765', 'tblTempVendorCDR_20' ) end [2025-11-26 02:00:19] Production.INFO: ProcessCDR(1,16268765,1,1,2) [2025-11-26 02:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16268765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 02:03:03] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16268765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 02:03:03] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16268765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 02:06:13] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16268765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 02:06:13] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16268765', 'tblTempUsageDetail_20' ) start [2025-11-26 02:06:14] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16268765', 'tblTempUsageDetail_20' ) end [2025-11-26 02:06:14] Production.ERROR: pbx prc_insertCDR start [2025-11-26 02:06:14] Production.ERROR: pbx prc_insertCDR end [2025-11-26 02:06:14] Production.INFO: ==9485== Releasing lock... [2025-11-26 02:06:14] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 02:06:14] Production.INFO: 31.5 MB #Memory Used# [2025-11-26 03:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 00:00:07 [end_date_ymd] => 2025-11-26 03:00:07 [RateCDR] => 1 ) [2025-11-26 03:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 00:00:07' and `end` < '2025-11-26 03:00:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 03:00:19] Production.INFO: count ==442 [2025-11-26 03:00:19] Production.ERROR: pbx CDR StartTime 2025-11-26 00:00:07 - End Time 2025-11-26 03:00:07 [2025-11-26 03:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269012', 'tblTempUsageDetail_20' ) start [2025-11-26 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269012', 'tblTempUsageDetail_20' ) end [2025-11-26 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269012', 'tblTempVendorCDR_20' ) start [2025-11-26 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269012', 'tblTempVendorCDR_20' ) end [2025-11-26 03:00:19] Production.INFO: ProcessCDR(1,16269012,1,1,2) [2025-11-26 03:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16269012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 03:02:57] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16269012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 03:02:57] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16269012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 03:06:11] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16269012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 03:06:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269012', 'tblTempUsageDetail_20' ) start [2025-11-26 03:06:11] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269012', 'tblTempUsageDetail_20' ) end [2025-11-26 03:06:11] Production.ERROR: pbx prc_insertCDR start [2025-11-26 03:06:11] Production.ERROR: pbx prc_insertCDR end [2025-11-26 03:06:11] Production.INFO: ==14656== Releasing lock... [2025-11-26 03:06:11] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 03:06:11] Production.INFO: 32 MB #Memory Used# [2025-11-26 04:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 01:00:06 [end_date_ymd] => 2025-11-26 04:00:06 [RateCDR] => 1 ) [2025-11-26 04:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 01:00:06' and `end` < '2025-11-26 04:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 04:00:18] Production.INFO: count ==327 [2025-11-26 04:00:18] Production.ERROR: pbx CDR StartTime 2025-11-26 01:00:06 - End Time 2025-11-26 04:00:06 [2025-11-26 04:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269259', 'tblTempUsageDetail_20' ) start [2025-11-26 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269259', 'tblTempUsageDetail_20' ) end [2025-11-26 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269259', 'tblTempVendorCDR_20' ) start [2025-11-26 04:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269259', 'tblTempVendorCDR_20' ) end [2025-11-26 04:00:18] Production.INFO: ProcessCDR(1,16269259,1,1,2) [2025-11-26 04:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16269259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 04:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16269259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 04:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16269259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 04:05:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16269259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 04:05:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269259', 'tblTempUsageDetail_20' ) start [2025-11-26 04:05:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269259', 'tblTempUsageDetail_20' ) end [2025-11-26 04:05:32] Production.ERROR: pbx prc_insertCDR start [2025-11-26 04:05:32] Production.ERROR: pbx prc_insertCDR end [2025-11-26 04:05:32] Production.INFO: ==19631== Releasing lock... [2025-11-26 04:05:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 04:05:32] Production.INFO: 31.25 MB #Memory Used# [2025-11-26 05:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 02:00:07 [end_date_ymd] => 2025-11-26 05:00:07 [RateCDR] => 1 ) [2025-11-26 05:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 02:00:07' and `end` < '2025-11-26 05:00:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 05:00:20] Production.INFO: count ==238 [2025-11-26 05:00:20] Production.ERROR: pbx CDR StartTime 2025-11-26 02:00:07 - End Time 2025-11-26 05:00:07 [2025-11-26 05:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 05:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269508', 'tblTempUsageDetail_20' ) start [2025-11-26 05:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269508', 'tblTempUsageDetail_20' ) end [2025-11-26 05:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269508', 'tblTempVendorCDR_20' ) start [2025-11-26 05:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269508', 'tblTempVendorCDR_20' ) end [2025-11-26 05:00:20] Production.INFO: ProcessCDR(1,16269508,1,1,2) [2025-11-26 05:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16269508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 05:02:54] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16269508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 05:02:54] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16269508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 05:06:15] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16269508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 05:06:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269508', 'tblTempUsageDetail_20' ) start [2025-11-26 05:06:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269508', 'tblTempUsageDetail_20' ) end [2025-11-26 05:06:15] Production.ERROR: pbx prc_insertCDR start [2025-11-26 05:06:16] Production.ERROR: pbx prc_insertCDR end [2025-11-26 05:06:16] Production.INFO: ==24186== Releasing lock... [2025-11-26 05:06:16] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 05:06:16] Production.INFO: 30 MB #Memory Used# [2025-11-26 06:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 03:00:06 [end_date_ymd] => 2025-11-26 06:00:06 [RateCDR] => 1 ) [2025-11-26 06:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 03:00:06' and `end` < '2025-11-26 06:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 06:00:18] Production.INFO: count ==113 [2025-11-26 06:00:18] Production.ERROR: pbx CDR StartTime 2025-11-26 03:00:06 - End Time 2025-11-26 06:00:06 [2025-11-26 06:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269755', 'tblTempUsageDetail_20' ) start [2025-11-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16269755', 'tblTempUsageDetail_20' ) end [2025-11-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269755', 'tblTempVendorCDR_20' ) start [2025-11-26 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16269755', 'tblTempVendorCDR_20' ) end [2025-11-26 06:00:18] Production.INFO: ProcessCDR(1,16269755,1,1,2) [2025-11-26 06:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16269755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 06:02:54] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16269755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 06:02:54] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16269755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 06:06:06] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16269755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 06:06:06] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269755', 'tblTempUsageDetail_20' ) start [2025-11-26 06:06:06] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16269755', 'tblTempUsageDetail_20' ) end [2025-11-26 06:06:06] Production.ERROR: pbx prc_insertCDR start [2025-11-26 06:06:07] Production.ERROR: pbx prc_insertCDR end [2025-11-26 06:06:07] Production.INFO: ==28945== Releasing lock... [2025-11-26 06:06:07] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 06:06:07] Production.INFO: 28.75 MB #Memory Used# [2025-11-26 07:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 04:00:06 [end_date_ymd] => 2025-11-26 07:00:06 [RateCDR] => 1 ) [2025-11-26 07:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 04:00:06' and `end` < '2025-11-26 07:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 07:00:18] Production.INFO: count ==105 [2025-11-26 07:00:18] Production.ERROR: pbx CDR StartTime 2025-11-26 04:00:06 - End Time 2025-11-26 07:00:06 [2025-11-26 07:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270002', 'tblTempUsageDetail_20' ) start [2025-11-26 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270002', 'tblTempUsageDetail_20' ) end [2025-11-26 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270002', 'tblTempVendorCDR_20' ) start [2025-11-26 07:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270002', 'tblTempVendorCDR_20' ) end [2025-11-26 07:00:18] Production.INFO: ProcessCDR(1,16270002,1,1,2) [2025-11-26 07:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16270002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 07:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16270002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 07:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16270002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 07:05:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16270002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 07:05:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270002', 'tblTempUsageDetail_20' ) start [2025-11-26 07:05:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270002', 'tblTempUsageDetail_20' ) end [2025-11-26 07:05:45] Production.ERROR: pbx prc_insertCDR start [2025-11-26 07:05:45] Production.ERROR: pbx prc_insertCDR end [2025-11-26 07:05:45] Production.INFO: ==1022== Releasing lock... [2025-11-26 07:05:45] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 07:05:45] Production.INFO: 28.75 MB #Memory Used# [2025-11-26 08:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 05:00:06 [end_date_ymd] => 2025-11-26 08:00:06 [RateCDR] => 1 ) [2025-11-26 08:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 05:00:06' and `end` < '2025-11-26 08:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 08:00:18] Production.INFO: count ==194 [2025-11-26 08:00:18] Production.ERROR: pbx CDR StartTime 2025-11-26 05:00:06 - End Time 2025-11-26 08:00:06 [2025-11-26 08:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270249', 'tblTempUsageDetail_20' ) start [2025-11-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270249', 'tblTempUsageDetail_20' ) end [2025-11-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270249', 'tblTempVendorCDR_20' ) start [2025-11-26 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270249', 'tblTempVendorCDR_20' ) end [2025-11-26 08:00:18] Production.INFO: ProcessCDR(1,16270249,1,1,2) [2025-11-26 08:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16270249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 08:02:56] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16270249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 08:02:56] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16270249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 08:06:15] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16270249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 08:06:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270249', 'tblTempUsageDetail_20' ) start [2025-11-26 08:06:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270249', 'tblTempUsageDetail_20' ) end [2025-11-26 08:06:15] Production.ERROR: pbx prc_insertCDR start [2025-11-26 08:06:15] Production.ERROR: pbx prc_insertCDR end [2025-11-26 08:06:15] Production.INFO: ==5748== Releasing lock... [2025-11-26 08:06:15] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 08:06:15] Production.INFO: 29.75 MB #Memory Used# [2025-11-26 09:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 06:00:07 [end_date_ymd] => 2025-11-26 09:00:07 [RateCDR] => 1 ) [2025-11-26 09:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 06:00:07' and `end` < '2025-11-26 09:00:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 09:00:19] Production.INFO: count ==923 [2025-11-26 09:00:19] Production.ERROR: pbx CDR StartTime 2025-11-26 06:00:07 - End Time 2025-11-26 09:00:07 [2025-11-26 09:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270496', 'tblTempUsageDetail_20' ) start [2025-11-26 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270496', 'tblTempUsageDetail_20' ) end [2025-11-26 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270496', 'tblTempVendorCDR_20' ) start [2025-11-26 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270496', 'tblTempVendorCDR_20' ) end [2025-11-26 09:00:19] Production.INFO: ProcessCDR(1,16270496,1,1,2) [2025-11-26 09:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16270496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 09:02:55] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16270496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 09:02:55] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16270496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 09:06:09] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16270496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 09:06:09] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270496', 'tblTempUsageDetail_20' ) start [2025-11-26 09:06:09] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270496', 'tblTempUsageDetail_20' ) end [2025-11-26 09:06:09] Production.ERROR: pbx prc_insertCDR start [2025-11-26 09:06:10] Production.ERROR: pbx prc_insertCDR end [2025-11-26 09:06:10] Production.INFO: ==10276== Releasing lock... [2025-11-26 09:06:10] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 09:06:10] Production.INFO: 35.25 MB #Memory Used# [2025-11-26 10:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 07:00:07 [end_date_ymd] => 2025-11-26 10:00:07 [RateCDR] => 1 ) [2025-11-26 10:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 07:00:07' and `end` < '2025-11-26 10:00:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 10:00:23] Production.INFO: count ==2344 [2025-11-26 10:00:24] Production.ERROR: pbx CDR StartTime 2025-11-26 07:00:07 - End Time 2025-11-26 10:00:07 [2025-11-26 10:00:24] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 10:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270743', 'tblTempUsageDetail_20' ) start [2025-11-26 10:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270743', 'tblTempUsageDetail_20' ) end [2025-11-26 10:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270743', 'tblTempVendorCDR_20' ) start [2025-11-26 10:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270743', 'tblTempVendorCDR_20' ) end [2025-11-26 10:00:24] Production.INFO: ProcessCDR(1,16270743,1,1,2) [2025-11-26 10:00:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16270743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 10:03:02] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16270743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 10:03:02] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16270743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 10:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16270743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 10:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270743', 'tblTempUsageDetail_20' ) start [2025-11-26 10:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270743', 'tblTempUsageDetail_20' ) end [2025-11-26 10:06:22] Production.ERROR: pbx prc_insertCDR start [2025-11-26 10:06:24] Production.ERROR: pbx prc_insertCDR end [2025-11-26 10:06:24] Production.INFO: ==15126== Releasing lock... [2025-11-26 10:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 10:06:24] Production.INFO: 46 MB #Memory Used# [2025-11-26 11:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 08:00:06 [end_date_ymd] => 2025-11-26 11:00:06 [RateCDR] => 1 ) [2025-11-26 11:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 08:00:06' and `end` < '2025-11-26 11:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 11:00:20] Production.INFO: count ==4397 [2025-11-26 11:00:21] Production.ERROR: pbx CDR StartTime 2025-11-26 08:00:06 - End Time 2025-11-26 11:00:06 [2025-11-26 11:00:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270989', 'tblTempUsageDetail_20' ) start [2025-11-26 11:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16270989', 'tblTempUsageDetail_20' ) end [2025-11-26 11:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270989', 'tblTempVendorCDR_20' ) start [2025-11-26 11:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16270989', 'tblTempVendorCDR_20' ) end [2025-11-26 11:00:22] Production.INFO: ProcessCDR(1,16270989,1,1,2) [2025-11-26 11:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16270989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 11:03:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16270989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 11:03:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16270989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 11:06:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16270989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 11:06:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270989', 'tblTempUsageDetail_20' ) start [2025-11-26 11:06:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16270989', 'tblTempUsageDetail_20' ) end [2025-11-26 11:06:38] Production.ERROR: pbx prc_insertCDR start [2025-11-26 11:06:40] Production.ERROR: pbx prc_insertCDR end [2025-11-26 11:06:40] Production.INFO: ==19628== Releasing lock... [2025-11-26 11:06:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 11:06:40] Production.INFO: 61 MB #Memory Used# [2025-11-26 12:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 09:00:06 [end_date_ymd] => 2025-11-26 12:00:06 [RateCDR] => 1 ) [2025-11-26 12:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 09:00:06' and `end` < '2025-11-26 12:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 12:00:22] Production.INFO: count ==5458 [2025-11-26 12:00:25] Production.ERROR: pbx CDR StartTime 2025-11-26 09:00:06 - End Time 2025-11-26 12:00:06 [2025-11-26 12:00:25] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 12:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271236', 'tblTempUsageDetail_20' ) start [2025-11-26 12:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271236', 'tblTempUsageDetail_20' ) end [2025-11-26 12:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271236', 'tblTempVendorCDR_20' ) start [2025-11-26 12:00:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271236', 'tblTempVendorCDR_20' ) end [2025-11-26 12:00:25] Production.INFO: ProcessCDR(1,16271236,1,1,2) [2025-11-26 12:00:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16271236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 12:03:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16271236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 12:03:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16271236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 12:06:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16271236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 12:06:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271236', 'tblTempUsageDetail_20' ) start [2025-11-26 12:06:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271236', 'tblTempUsageDetail_20' ) end [2025-11-26 12:06:42] Production.ERROR: pbx prc_insertCDR start [2025-11-26 12:06:44] Production.ERROR: pbx prc_insertCDR end [2025-11-26 12:06:44] Production.INFO: ==24187== Releasing lock... [2025-11-26 12:06:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 12:06:44] Production.INFO: 69 MB #Memory Used# [2025-11-26 13:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 10:00:06 [end_date_ymd] => 2025-11-26 13:00:06 [RateCDR] => 1 ) [2025-11-26 13:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 10:00:06' and `end` < '2025-11-26 13:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 13:00:19] Production.INFO: count ==5633 [2025-11-26 13:00:22] Production.ERROR: pbx CDR StartTime 2025-11-26 10:00:06 - End Time 2025-11-26 13:00:06 [2025-11-26 13:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271483', 'tblTempUsageDetail_20' ) start [2025-11-26 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271483', 'tblTempUsageDetail_20' ) end [2025-11-26 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271483', 'tblTempVendorCDR_20' ) start [2025-11-26 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271483', 'tblTempVendorCDR_20' ) end [2025-11-26 13:00:22] Production.INFO: ProcessCDR(1,16271483,1,1,2) [2025-11-26 13:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16271483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 13:03:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16271483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 13:03:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16271483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 13:06:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16271483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 13:06:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271483', 'tblTempUsageDetail_20' ) start [2025-11-26 13:06:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271483', 'tblTempUsageDetail_20' ) end [2025-11-26 13:06:45] Production.ERROR: pbx prc_insertCDR start [2025-11-26 13:06:47] Production.ERROR: pbx prc_insertCDR end [2025-11-26 13:06:47] Production.INFO: ==28798== Releasing lock... [2025-11-26 13:06:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 13:06:47] Production.INFO: 70.5 MB #Memory Used# [2025-11-26 14:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 11:00:06 [end_date_ymd] => 2025-11-26 14:00:06 [RateCDR] => 1 ) [2025-11-26 14:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 11:00:06' and `end` < '2025-11-26 14:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 14:00:21] Production.INFO: count ==5206 [2025-11-26 14:00:24] Production.ERROR: pbx CDR StartTime 2025-11-26 11:00:06 - End Time 2025-11-26 14:00:06 [2025-11-26 14:00:24] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 14:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271731', 'tblTempUsageDetail_20' ) start [2025-11-26 14:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271731', 'tblTempUsageDetail_20' ) end [2025-11-26 14:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271731', 'tblTempVendorCDR_20' ) start [2025-11-26 14:00:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271731', 'tblTempVendorCDR_20' ) end [2025-11-26 14:00:24] Production.INFO: ProcessCDR(1,16271731,1,1,2) [2025-11-26 14:00:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16271731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 14:03:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16271731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 14:03:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16271731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 14:06:50] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16271731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 14:06:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271731', 'tblTempUsageDetail_20' ) start [2025-11-26 14:06:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271731', 'tblTempUsageDetail_20' ) end [2025-11-26 14:06:50] Production.ERROR: pbx prc_insertCDR start [2025-11-26 14:06:52] Production.ERROR: pbx prc_insertCDR end [2025-11-26 14:06:52] Production.INFO: ==1040== Releasing lock... [2025-11-26 14:06:52] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 14:06:52] Production.INFO: 67.25 MB #Memory Used# [2025-11-26 15:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 12:00:06 [end_date_ymd] => 2025-11-26 15:00:06 [RateCDR] => 1 ) [2025-11-26 15:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 12:00:06' and `end` < '2025-11-26 15:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 15:00:20] Production.INFO: count ==5105 [2025-11-26 15:00:22] Production.ERROR: pbx CDR StartTime 2025-11-26 12:00:06 - End Time 2025-11-26 15:00:06 [2025-11-26 15:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271978', 'tblTempUsageDetail_20' ) start [2025-11-26 15:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16271978', 'tblTempUsageDetail_20' ) end [2025-11-26 15:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271978', 'tblTempVendorCDR_20' ) start [2025-11-26 15:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16271978', 'tblTempVendorCDR_20' ) end [2025-11-26 15:00:23] Production.INFO: ProcessCDR(1,16271978,1,1,2) [2025-11-26 15:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16271978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 15:03:43] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16271978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 15:03:43] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16271978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 15:06:59] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16271978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 15:06:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271978', 'tblTempUsageDetail_20' ) start [2025-11-26 15:06:59] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16271978', 'tblTempUsageDetail_20' ) end [2025-11-26 15:06:59] Production.ERROR: pbx prc_insertCDR start [2025-11-26 15:07:06] Production.ERROR: pbx prc_insertCDR end [2025-11-26 15:07:06] Production.INFO: ==6416== Releasing lock... [2025-11-26 15:07:06] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 15:07:06] Production.INFO: 66.5 MB #Memory Used# [2025-11-26 16:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 13:00:06 [end_date_ymd] => 2025-11-26 16:00:06 [RateCDR] => 1 ) [2025-11-26 16:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 13:00:06' and `end` < '2025-11-26 16:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 16:00:20] Production.INFO: count ==5388 [2025-11-26 16:00:23] Production.ERROR: pbx CDR StartTime 2025-11-26 13:00:06 - End Time 2025-11-26 16:00:06 [2025-11-26 16:00:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272225', 'tblTempUsageDetail_20' ) start [2025-11-26 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272225', 'tblTempUsageDetail_20' ) end [2025-11-26 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272225', 'tblTempVendorCDR_20' ) start [2025-11-26 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272225', 'tblTempVendorCDR_20' ) end [2025-11-26 16:00:23] Production.INFO: ProcessCDR(1,16272225,1,1,2) [2025-11-26 16:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16272225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 16:03:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16272225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 16:03:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16272225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 16:06:48] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16272225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 16:06:48] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272225', 'tblTempUsageDetail_20' ) start [2025-11-26 16:06:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272225', 'tblTempUsageDetail_20' ) end [2025-11-26 16:06:49] Production.ERROR: pbx prc_insertCDR start [2025-11-26 16:06:51] Production.ERROR: pbx prc_insertCDR end [2025-11-26 16:06:51] Production.INFO: ==11426== Releasing lock... [2025-11-26 16:06:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 16:06:51] Production.INFO: 68.5 MB #Memory Used# [2025-11-26 17:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 14:00:06 [end_date_ymd] => 2025-11-26 17:00:06 [RateCDR] => 1 ) [2025-11-26 17:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 14:00:06' and `end` < '2025-11-26 17:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 17:00:19] Production.INFO: count ==5295 [2025-11-26 17:00:22] Production.ERROR: pbx CDR StartTime 2025-11-26 14:00:06 - End Time 2025-11-26 17:00:06 [2025-11-26 17:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272472', 'tblTempUsageDetail_20' ) start [2025-11-26 17:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272472', 'tblTempUsageDetail_20' ) end [2025-11-26 17:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272472', 'tblTempVendorCDR_20' ) start [2025-11-26 17:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272472', 'tblTempVendorCDR_20' ) end [2025-11-26 17:00:23] Production.INFO: ProcessCDR(1,16272472,1,1,2) [2025-11-26 17:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16272472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 17:03:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16272472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 17:03:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16272472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 17:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16272472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 17:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272472', 'tblTempUsageDetail_20' ) start [2025-11-26 17:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272472', 'tblTempUsageDetail_20' ) end [2025-11-26 17:07:24] Production.ERROR: pbx prc_insertCDR start [2025-11-26 17:07:26] Production.ERROR: pbx prc_insertCDR end [2025-11-26 17:07:26] Production.INFO: ==16033== Releasing lock... [2025-11-26 17:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 17:07:26] Production.INFO: 67.75 MB #Memory Used# [2025-11-26 18:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 15:00:06 [end_date_ymd] => 2025-11-26 18:00:06 [RateCDR] => 1 ) [2025-11-26 18:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 15:00:06' and `end` < '2025-11-26 18:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 18:00:19] Production.INFO: count ==4772 [2025-11-26 18:00:21] Production.ERROR: pbx CDR StartTime 2025-11-26 15:00:06 - End Time 2025-11-26 18:00:06 [2025-11-26 18:00:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 18:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272717', 'tblTempUsageDetail_20' ) start [2025-11-26 18:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272717', 'tblTempUsageDetail_20' ) end [2025-11-26 18:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272717', 'tblTempVendorCDR_20' ) start [2025-11-26 18:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272717', 'tblTempVendorCDR_20' ) end [2025-11-26 18:00:21] Production.INFO: ProcessCDR(1,16272717,1,1,2) [2025-11-26 18:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16272717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 18:03:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16272717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 18:03:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16272717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 18:06:51] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16272717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 18:06:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272717', 'tblTempUsageDetail_20' ) start [2025-11-26 18:06:52] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272717', 'tblTempUsageDetail_20' ) end [2025-11-26 18:06:52] Production.ERROR: pbx prc_insertCDR start [2025-11-26 18:06:53] Production.ERROR: pbx prc_insertCDR end [2025-11-26 18:06:53] Production.INFO: ==20624== Releasing lock... [2025-11-26 18:06:53] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 18:06:53] Production.INFO: 64 MB #Memory Used# [2025-11-26 19:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 16:00:06 [end_date_ymd] => 2025-11-26 19:00:06 [RateCDR] => 1 ) [2025-11-26 19:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 16:00:06' and `end` < '2025-11-26 19:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 19:00:20] Production.INFO: count ==3666 [2025-11-26 19:00:22] Production.ERROR: pbx CDR StartTime 2025-11-26 16:00:06 - End Time 2025-11-26 19:00:06 [2025-11-26 19:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272964', 'tblTempUsageDetail_20' ) start [2025-11-26 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16272964', 'tblTempUsageDetail_20' ) end [2025-11-26 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272964', 'tblTempVendorCDR_20' ) start [2025-11-26 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16272964', 'tblTempVendorCDR_20' ) end [2025-11-26 19:00:22] Production.INFO: ProcessCDR(1,16272964,1,1,2) [2025-11-26 19:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16272964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 19:03:00] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16272964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 19:03:00] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16272964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 19:06:16] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16272964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 19:06:16] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272964', 'tblTempUsageDetail_20' ) start [2025-11-26 19:06:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16272964', 'tblTempUsageDetail_20' ) end [2025-11-26 19:06:17] Production.ERROR: pbx prc_insertCDR start [2025-11-26 19:06:18] Production.ERROR: pbx prc_insertCDR end [2025-11-26 19:06:18] Production.INFO: ==26399== Releasing lock... [2025-11-26 19:06:18] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 19:06:18] Production.INFO: 55.5 MB #Memory Used# [2025-11-26 20:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 17:00:06 [end_date_ymd] => 2025-11-26 20:00:06 [RateCDR] => 1 ) [2025-11-26 20:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 17:00:06' and `end` < '2025-11-26 20:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 20:00:18] Production.INFO: count ==2655 [2025-11-26 20:00:19] Production.ERROR: pbx CDR StartTime 2025-11-26 17:00:06 - End Time 2025-11-26 20:00:06 [2025-11-26 20:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273211', 'tblTempUsageDetail_20' ) start [2025-11-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273211', 'tblTempUsageDetail_20' ) end [2025-11-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273211', 'tblTempVendorCDR_20' ) start [2025-11-26 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273211', 'tblTempVendorCDR_20' ) end [2025-11-26 20:00:19] Production.INFO: ProcessCDR(1,16273211,1,1,2) [2025-11-26 20:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16273211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 20:02:57] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16273211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 20:02:57] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16273211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 20:06:15] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16273211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 20:06:15] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273211', 'tblTempUsageDetail_20' ) start [2025-11-26 20:06:16] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273211', 'tblTempUsageDetail_20' ) end [2025-11-26 20:06:16] Production.ERROR: pbx prc_insertCDR start [2025-11-26 20:06:17] Production.ERROR: pbx prc_insertCDR end [2025-11-26 20:06:17] Production.INFO: ==31200== Releasing lock... [2025-11-26 20:06:17] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 20:06:17] Production.INFO: 48 MB #Memory Used# [2025-11-26 21:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 18:00:06 [end_date_ymd] => 2025-11-26 21:00:06 [RateCDR] => 1 ) [2025-11-26 21:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 18:00:06' and `end` < '2025-11-26 21:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 21:00:18] Production.INFO: count ==1973 [2025-11-26 21:00:19] Production.ERROR: pbx CDR StartTime 2025-11-26 18:00:06 - End Time 2025-11-26 21:00:06 [2025-11-26 21:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273458', 'tblTempUsageDetail_20' ) start [2025-11-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273458', 'tblTempUsageDetail_20' ) end [2025-11-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273458', 'tblTempVendorCDR_20' ) start [2025-11-26 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273458', 'tblTempVendorCDR_20' ) end [2025-11-26 21:00:19] Production.INFO: ProcessCDR(1,16273458,1,1,2) [2025-11-26 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16273458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 21:02:54] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16273458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 21:02:54] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16273458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 21:06:17] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16273458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 21:06:17] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273458', 'tblTempUsageDetail_20' ) start [2025-11-26 21:06:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273458', 'tblTempUsageDetail_20' ) end [2025-11-26 21:06:18] Production.ERROR: pbx prc_insertCDR start [2025-11-26 21:06:19] Production.ERROR: pbx prc_insertCDR end [2025-11-26 21:06:19] Production.INFO: ==3561== Releasing lock... [2025-11-26 21:06:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 21:06:19] Production.INFO: 43 MB #Memory Used# [2025-11-26 22:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 19:00:07 [end_date_ymd] => 2025-11-26 22:00:07 [RateCDR] => 1 ) [2025-11-26 22:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 19:00:07' and `end` < '2025-11-26 22:00:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 22:00:19] Production.INFO: count ==1532 [2025-11-26 22:00:19] Production.ERROR: pbx CDR StartTime 2025-11-26 19:00:07 - End Time 2025-11-26 22:00:07 [2025-11-26 22:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273705', 'tblTempUsageDetail_20' ) start [2025-11-26 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273705', 'tblTempUsageDetail_20' ) end [2025-11-26 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273705', 'tblTempVendorCDR_20' ) start [2025-11-26 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273705', 'tblTempVendorCDR_20' ) end [2025-11-26 22:00:20] Production.INFO: ProcessCDR(1,16273705,1,1,2) [2025-11-26 22:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16273705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 22:03:11] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16273705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 22:03:11] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16273705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 22:06:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16273705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 22:06:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273705', 'tblTempUsageDetail_20' ) start [2025-11-26 22:06:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273705', 'tblTempUsageDetail_20' ) end [2025-11-26 22:06:35] Production.ERROR: pbx prc_insertCDR start [2025-11-26 22:06:36] Production.ERROR: pbx prc_insertCDR end [2025-11-26 22:06:36] Production.INFO: ==8571== Releasing lock... [2025-11-26 22:06:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 22:06:36] Production.INFO: 39.5 MB #Memory Used# [2025-11-26 23:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-11-26 20:00:06 [end_date_ymd] => 2025-11-26 23:00:06 [RateCDR] => 1 ) [2025-11-26 23:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-11-26 20:00:06' and `end` < '2025-11-26 23:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-11-26 23:00:18] Production.INFO: count ==1176 [2025-11-26 23:00:19] Production.ERROR: pbx CDR StartTime 2025-11-26 20:00:06 - End Time 2025-11-26 23:00:06 [2025-11-26 23:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-11-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273952', 'tblTempUsageDetail_20' ) start [2025-11-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '16273952', 'tblTempUsageDetail_20' ) end [2025-11-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273952', 'tblTempVendorCDR_20' ) start [2025-11-26 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '16273952', 'tblTempVendorCDR_20' ) end [2025-11-26 23:00:19] Production.INFO: ProcessCDR(1,16273952,1,1,2) [2025-11-26 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,16273952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 23:03:08] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,16273952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-11-26 23:03:08] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,16273952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 23:06:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,16273952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-11-26 23:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273952', 'tblTempUsageDetail_20' ) start [2025-11-26 23:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('16273952', 'tblTempUsageDetail_20' ) end [2025-11-26 23:06:30] Production.ERROR: pbx prc_insertCDR start [2025-11-26 23:06:30] Production.ERROR: pbx prc_insertCDR end [2025-11-26 23:06:30] Production.INFO: ==13254== Releasing lock... [2025-11-26 23:06:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-11-26 23:06:30] Production.INFO: 37.5 MB #Memory Used#