[2026-03-30 00:02:05] Production.INFO: next invoice date [2026-03-30 00:02:05] Production.INFO: 2026-04-30 [2026-03-30 00:02:05] Production.INFO: getdaysdiff [2026-03-30 00:02:05] Production.INFO: +31 [2026-03-30 00:02:05] Production.INFO: call prc_setAccountDiscountPlan (205,11,1,31,31,'RMScheduler',2026-03-30 00:02:05,0,0,,,0) [2026-03-30 00:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-29 21:02:06 [end_date_ymd] => 2026-03-30 00:02:06 [RateCDR] => 1 ) [2026-03-30 00:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-29 21:02:06' and `end` < '2026-03-30 00:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 00:02:35] Production.INFO: count ==655 [2026-03-30 00:02:35] Production.ERROR: pbx CDR StartTime 2026-03-29 21:02:06 - End Time 2026-03-30 00:02:06 [2026-03-30 00:02:35] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 00:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003085', 'tblTempUsageDetail_20' ) start [2026-03-30 00:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003085', 'tblTempUsageDetail_20' ) end [2026-03-30 00:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003085', 'tblTempVendorCDR_20' ) start [2026-03-30 00:02:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003085', 'tblTempVendorCDR_20' ) end [2026-03-30 00:02:35] Production.INFO: ProcessCDR(1,17003085,1,1,2) [2026-03-30 00:02:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17003085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 00:02:45] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17003085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 00:02:45] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17003085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 00:02:56] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17003085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 00:02:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003085', 'tblTempUsageDetail_20' ) start [2026-03-30 00:02:56] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003085', 'tblTempUsageDetail_20' ) end [2026-03-30 00:02:56] Production.ERROR: pbx prc_insertCDR start [2026-03-30 00:02:56] Production.ERROR: pbx prc_insertCDR end [2026-03-30 00:02:58] Production.INFO: ==2874== Releasing lock... [2026-03-30 00:02:58] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 00:02:58] Production.INFO: 37.75 MB #Memory Used# [2026-03-30 01:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-29 22:02:05 [end_date_ymd] => 2026-03-30 01:02:05 [RateCDR] => 1 ) [2026-03-30 01:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-29 22:02:05' and `end` < '2026-03-30 01:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 01:02:17] Production.INFO: count ==529 [2026-03-30 01:02:18] Production.ERROR: pbx CDR StartTime 2026-03-29 22:02:05 - End Time 2026-03-30 01:02:05 [2026-03-30 01:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003332', 'tblTempUsageDetail_20' ) start [2026-03-30 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003332', 'tblTempUsageDetail_20' ) end [2026-03-30 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003332', 'tblTempVendorCDR_20' ) start [2026-03-30 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003332', 'tblTempVendorCDR_20' ) end [2026-03-30 01:02:18] Production.INFO: ProcessCDR(1,17003332,1,1,2) [2026-03-30 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17003332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 01:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17003332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 01:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17003332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 01:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17003332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 01:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003332', 'tblTempUsageDetail_20' ) start [2026-03-30 01:02:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003332', 'tblTempUsageDetail_20' ) end [2026-03-30 01:02:38] Production.ERROR: pbx prc_insertCDR start [2026-03-30 01:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-30 01:02:38] Production.INFO: ==7194== Releasing lock... [2026-03-30 01:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 01:02:38] Production.INFO: 33 MB #Memory Used# [2026-03-30 02:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-29 23:02:06 [end_date_ymd] => 2026-03-30 02:02:06 [RateCDR] => 1 ) [2026-03-30 02:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-29 23:02:06' and `end` < '2026-03-30 02:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 02:02:17] Production.INFO: count ==544 [2026-03-30 02:02:17] Production.ERROR: pbx CDR StartTime 2026-03-29 23:02:06 - End Time 2026-03-30 02:02:06 [2026-03-30 02:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003579', 'tblTempUsageDetail_20' ) start [2026-03-30 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003579', 'tblTempUsageDetail_20' ) end [2026-03-30 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003579', 'tblTempVendorCDR_20' ) start [2026-03-30 02:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003579', 'tblTempVendorCDR_20' ) end [2026-03-30 02:02:17] Production.INFO: ProcessCDR(1,17003579,1,1,2) [2026-03-30 02:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17003579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 02:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17003579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 02:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17003579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 02:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17003579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 02:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003579', 'tblTempUsageDetail_20' ) start [2026-03-30 02:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003579', 'tblTempUsageDetail_20' ) end [2026-03-30 02:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-30 02:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-30 02:02:38] Production.INFO: ==11625== Releasing lock... [2026-03-30 02:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 02:02:38] Production.INFO: 32.5 MB #Memory Used# [2026-03-30 03:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 00:02:05 [end_date_ymd] => 2026-03-30 03:02:05 [RateCDR] => 1 ) [2026-03-30 03:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 00:02:05' and `end` < '2026-03-30 03:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 03:02:16] Production.INFO: count ==514 [2026-03-30 03:02:16] Production.ERROR: pbx CDR StartTime 2026-03-30 00:02:05 - End Time 2026-03-30 03:02:05 [2026-03-30 03:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 03:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003826', 'tblTempUsageDetail_20' ) start [2026-03-30 03:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17003826', 'tblTempUsageDetail_20' ) end [2026-03-30 03:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003826', 'tblTempVendorCDR_20' ) start [2026-03-30 03:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17003826', 'tblTempVendorCDR_20' ) end [2026-03-30 03:02:16] Production.INFO: ProcessCDR(1,17003826,1,1,2) [2026-03-30 03:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17003826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 03:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17003826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 03:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17003826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 03:02:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17003826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 03:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003826', 'tblTempUsageDetail_20' ) start [2026-03-30 03:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17003826', 'tblTempUsageDetail_20' ) end [2026-03-30 03:02:36] Production.ERROR: pbx prc_insertCDR start [2026-03-30 03:02:36] Production.ERROR: pbx prc_insertCDR end [2026-03-30 03:02:36] Production.INFO: ==15926== Releasing lock... [2026-03-30 03:02:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 03:02:36] Production.INFO: 32.75 MB #Memory Used# [2026-03-30 04:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 01:02:05 [end_date_ymd] => 2026-03-30 04:02:05 [RateCDR] => 1 ) [2026-03-30 04:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 01:02:05' and `end` < '2026-03-30 04:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 04:02:16] Production.INFO: count ==412 [2026-03-30 04:02:16] Production.ERROR: pbx CDR StartTime 2026-03-30 01:02:05 - End Time 2026-03-30 04:02:05 [2026-03-30 04:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004074', 'tblTempUsageDetail_20' ) start [2026-03-30 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004074', 'tblTempUsageDetail_20' ) end [2026-03-30 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004074', 'tblTempVendorCDR_20' ) start [2026-03-30 04:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004074', 'tblTempVendorCDR_20' ) end [2026-03-30 04:02:16] Production.INFO: ProcessCDR(1,17004074,1,1,2) [2026-03-30 04:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17004074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 04:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17004074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 04:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17004074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 04:02:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17004074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 04:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004074', 'tblTempUsageDetail_20' ) start [2026-03-30 04:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004074', 'tblTempUsageDetail_20' ) end [2026-03-30 04:02:30] Production.ERROR: pbx prc_insertCDR start [2026-03-30 04:02:30] Production.ERROR: pbx prc_insertCDR end [2026-03-30 04:02:30] Production.INFO: ==20323== Releasing lock... [2026-03-30 04:02:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 04:02:30] Production.INFO: 31.75 MB #Memory Used# [2026-03-30 05:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 02:02:05 [end_date_ymd] => 2026-03-30 05:02:05 [RateCDR] => 1 ) [2026-03-30 05:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 02:02:05' and `end` < '2026-03-30 05:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 05:02:16] Production.INFO: count ==208 [2026-03-30 05:02:16] Production.ERROR: pbx CDR StartTime 2026-03-30 02:02:05 - End Time 2026-03-30 05:02:05 [2026-03-30 05:02:16] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 05:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004322', 'tblTempUsageDetail_20' ) start [2026-03-30 05:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004322', 'tblTempUsageDetail_20' ) end [2026-03-30 05:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004322', 'tblTempVendorCDR_20' ) start [2026-03-30 05:02:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004322', 'tblTempVendorCDR_20' ) end [2026-03-30 05:02:16] Production.INFO: ProcessCDR(1,17004322,1,1,2) [2026-03-30 05:02:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17004322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 05:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17004322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 05:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17004322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 05:02:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17004322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 05:02:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004322', 'tblTempUsageDetail_20' ) start [2026-03-30 05:02:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004322', 'tblTempUsageDetail_20' ) end [2026-03-30 05:02:35] Production.ERROR: pbx prc_insertCDR start [2026-03-30 05:02:35] Production.ERROR: pbx prc_insertCDR end [2026-03-30 05:02:35] Production.INFO: ==24750== Releasing lock... [2026-03-30 05:02:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 05:02:35] Production.INFO: 30.25 MB #Memory Used# [2026-03-30 06:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 03:02:06 [end_date_ymd] => 2026-03-30 06:02:06 [RateCDR] => 1 ) [2026-03-30 06:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 03:02:06' and `end` < '2026-03-30 06:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 06:02:17] Production.INFO: count ==117 [2026-03-30 06:02:17] Production.ERROR: pbx CDR StartTime 2026-03-30 03:02:06 - End Time 2026-03-30 06:02:06 [2026-03-30 06:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004569', 'tblTempUsageDetail_20' ) start [2026-03-30 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004569', 'tblTempUsageDetail_20' ) end [2026-03-30 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004569', 'tblTempVendorCDR_20' ) start [2026-03-30 06:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004569', 'tblTempVendorCDR_20' ) end [2026-03-30 06:02:17] Production.INFO: ProcessCDR(1,17004569,1,1,2) [2026-03-30 06:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17004569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 06:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17004569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 06:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17004569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 06:02:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17004569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 06:02:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004569', 'tblTempUsageDetail_20' ) start [2026-03-30 06:02:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004569', 'tblTempUsageDetail_20' ) end [2026-03-30 06:02:36] Production.ERROR: pbx prc_insertCDR start [2026-03-30 06:02:36] Production.ERROR: pbx prc_insertCDR end [2026-03-30 06:02:36] Production.INFO: ==29275== Releasing lock... [2026-03-30 06:02:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 06:02:36] Production.INFO: 29.5 MB #Memory Used# [2026-03-30 07:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 04:02:06 [end_date_ymd] => 2026-03-30 07:02:06 [RateCDR] => 1 ) [2026-03-30 07:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 04:02:06' and `end` < '2026-03-30 07:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 07:02:17] Production.INFO: count ==83 [2026-03-30 07:02:17] Production.ERROR: pbx CDR StartTime 2026-03-30 04:02:06 - End Time 2026-03-30 07:02:06 [2026-03-30 07:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004816', 'tblTempUsageDetail_20' ) start [2026-03-30 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17004816', 'tblTempUsageDetail_20' ) end [2026-03-30 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004816', 'tblTempVendorCDR_20' ) start [2026-03-30 07:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17004816', 'tblTempVendorCDR_20' ) end [2026-03-30 07:02:17] Production.INFO: ProcessCDR(1,17004816,1,1,2) [2026-03-30 07:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17004816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 07:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17004816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 07:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17004816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 07:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17004816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 07:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004816', 'tblTempUsageDetail_20' ) start [2026-03-30 07:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17004816', 'tblTempUsageDetail_20' ) end [2026-03-30 07:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-30 07:02:37] Production.ERROR: pbx prc_insertCDR end [2026-03-30 07:02:37] Production.INFO: ==1581== Releasing lock... [2026-03-30 07:02:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 07:02:37] Production.INFO: 29.25 MB #Memory Used# [2026-03-30 08:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 05:02:05 [end_date_ymd] => 2026-03-30 08:02:05 [RateCDR] => 1 ) [2026-03-30 08:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 05:02:05' and `end` < '2026-03-30 08:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 08:02:17] Production.INFO: count ==189 [2026-03-30 08:02:17] Production.ERROR: pbx CDR StartTime 2026-03-30 05:02:05 - End Time 2026-03-30 08:02:05 [2026-03-30 08:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005063', 'tblTempUsageDetail_20' ) start [2026-03-30 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005063', 'tblTempUsageDetail_20' ) end [2026-03-30 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005063', 'tblTempVendorCDR_20' ) start [2026-03-30 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005063', 'tblTempVendorCDR_20' ) end [2026-03-30 08:02:17] Production.INFO: ProcessCDR(1,17005063,1,1,2) [2026-03-30 08:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17005063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 08:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17005063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 08:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17005063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 08:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17005063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 08:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005063', 'tblTempUsageDetail_20' ) start [2026-03-30 08:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005063', 'tblTempUsageDetail_20' ) end [2026-03-30 08:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-30 08:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-30 08:02:38] Production.INFO: ==6534== Releasing lock... [2026-03-30 08:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 08:02:38] Production.INFO: 29.75 MB #Memory Used# [2026-03-30 09:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 06:02:05 [end_date_ymd] => 2026-03-30 09:02:05 [RateCDR] => 1 ) [2026-03-30 09:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 06:02:05' and `end` < '2026-03-30 09:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 09:02:17] Production.INFO: count ==876 [2026-03-30 09:02:17] Production.ERROR: pbx CDR StartTime 2026-03-30 06:02:05 - End Time 2026-03-30 09:02:05 [2026-03-30 09:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005310', 'tblTempUsageDetail_20' ) start [2026-03-30 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005310', 'tblTempUsageDetail_20' ) end [2026-03-30 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005310', 'tblTempVendorCDR_20' ) start [2026-03-30 09:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005310', 'tblTempVendorCDR_20' ) end [2026-03-30 09:02:17] Production.INFO: ProcessCDR(1,17005310,1,1,2) [2026-03-30 09:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17005310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 09:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17005310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 09:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17005310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 09:02:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17005310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 09:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005310', 'tblTempUsageDetail_20' ) start [2026-03-30 09:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005310', 'tblTempUsageDetail_20' ) end [2026-03-30 09:02:39] Production.ERROR: pbx prc_insertCDR start [2026-03-30 09:02:40] Production.ERROR: pbx prc_insertCDR end [2026-03-30 09:02:40] Production.INFO: ==10850== Releasing lock... [2026-03-30 09:02:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 09:02:40] Production.INFO: 35.75 MB #Memory Used# [2026-03-30 10:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 07:02:06 [end_date_ymd] => 2026-03-30 10:02:06 [RateCDR] => 1 ) [2026-03-30 10:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 07:02:06' and `end` < '2026-03-30 10:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 10:02:18] Production.INFO: count ==2395 [2026-03-30 10:02:19] Production.ERROR: pbx CDR StartTime 2026-03-30 07:02:06 - End Time 2026-03-30 10:02:06 [2026-03-30 10:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005557', 'tblTempUsageDetail_20' ) start [2026-03-30 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005557', 'tblTempUsageDetail_20' ) end [2026-03-30 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005557', 'tblTempVendorCDR_20' ) start [2026-03-30 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005557', 'tblTempVendorCDR_20' ) end [2026-03-30 10:02:19] Production.INFO: ProcessCDR(1,17005557,1,1,2) [2026-03-30 10:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17005557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 10:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17005557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 10:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17005557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 10:02:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17005557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 10:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005557', 'tblTempUsageDetail_20' ) start [2026-03-30 10:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005557', 'tblTempUsageDetail_20' ) end [2026-03-30 10:02:42] Production.ERROR: pbx prc_insertCDR start [2026-03-30 10:02:44] Production.ERROR: pbx prc_insertCDR end [2026-03-30 10:02:44] Production.INFO: ==15240== Releasing lock... [2026-03-30 10:02:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 10:02:44] Production.INFO: 46.75 MB #Memory Used# [2026-03-30 11:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 08:02:06 [end_date_ymd] => 2026-03-30 11:02:06 [RateCDR] => 1 ) [2026-03-30 11:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 08:02:06' and `end` < '2026-03-30 11:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 11:02:19] Production.INFO: count ==3928 [2026-03-30 11:02:22] Production.ERROR: pbx CDR StartTime 2026-03-30 08:02:06 - End Time 2026-03-30 11:02:06 [2026-03-30 11:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005804', 'tblTempUsageDetail_20' ) start [2026-03-30 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17005804', 'tblTempUsageDetail_20' ) end [2026-03-30 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005804', 'tblTempVendorCDR_20' ) start [2026-03-30 11:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17005804', 'tblTempVendorCDR_20' ) end [2026-03-30 11:02:22] Production.INFO: ProcessCDR(1,17005804,1,1,2) [2026-03-30 11:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17005804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 11:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17005804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 11:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17005804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 11:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17005804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 11:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005804', 'tblTempUsageDetail_20' ) start [2026-03-30 11:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17005804', 'tblTempUsageDetail_20' ) end [2026-03-30 11:02:45] Production.ERROR: pbx prc_insertCDR start [2026-03-30 11:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-30 11:02:47] Production.INFO: ==19644== Releasing lock... [2026-03-30 11:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 11:02:47] Production.INFO: 57.75 MB #Memory Used# [2026-03-30 12:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 09:02:06 [end_date_ymd] => 2026-03-30 12:02:06 [RateCDR] => 1 ) [2026-03-30 12:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 09:02:06' and `end` < '2026-03-30 12:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 12:02:18] Production.INFO: count ==4999 [2026-03-30 12:02:21] Production.ERROR: pbx CDR StartTime 2026-03-30 09:02:06 - End Time 2026-03-30 12:02:06 [2026-03-30 12:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006051', 'tblTempUsageDetail_20' ) start [2026-03-30 12:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006051', 'tblTempUsageDetail_20' ) end [2026-03-30 12:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006051', 'tblTempVendorCDR_20' ) start [2026-03-30 12:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006051', 'tblTempVendorCDR_20' ) end [2026-03-30 12:02:22] Production.INFO: ProcessCDR(1,17006051,1,1,2) [2026-03-30 12:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17006051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 12:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17006051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 12:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17006051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 12:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17006051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 12:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006051', 'tblTempUsageDetail_20' ) start [2026-03-30 12:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006051', 'tblTempUsageDetail_20' ) end [2026-03-30 12:02:44] Production.ERROR: pbx prc_insertCDR start [2026-03-30 12:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-30 12:02:47] Production.INFO: ==24083== Releasing lock... [2026-03-30 12:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 12:02:47] Production.INFO: 65.75 MB #Memory Used# [2026-03-30 13:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 10:02:05 [end_date_ymd] => 2026-03-30 13:02:05 [RateCDR] => 1 ) [2026-03-30 13:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 10:02:05' and `end` < '2026-03-30 13:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 13:02:18] Production.INFO: count ==5093 [2026-03-30 13:02:22] Production.ERROR: pbx CDR StartTime 2026-03-30 10:02:05 - End Time 2026-03-30 13:02:05 [2026-03-30 13:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006298', 'tblTempUsageDetail_20' ) start [2026-03-30 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006298', 'tblTempUsageDetail_20' ) end [2026-03-30 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006298', 'tblTempVendorCDR_20' ) start [2026-03-30 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006298', 'tblTempVendorCDR_20' ) end [2026-03-30 13:02:23] Production.INFO: ProcessCDR(1,17006298,1,1,2) [2026-03-30 13:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17006298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 13:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17006298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 13:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17006298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 13:02:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17006298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 13:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006298', 'tblTempUsageDetail_20' ) start [2026-03-30 13:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006298', 'tblTempUsageDetail_20' ) end [2026-03-30 13:02:45] Production.ERROR: pbx prc_insertCDR start [2026-03-30 13:02:48] Production.ERROR: pbx prc_insertCDR end [2026-03-30 13:02:48] Production.INFO: ==28423== Releasing lock... [2026-03-30 13:02:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 13:02:48] Production.INFO: 66.5 MB #Memory Used# [2026-03-30 14:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 11:02:05 [end_date_ymd] => 2026-03-30 14:02:05 [RateCDR] => 1 ) [2026-03-30 14:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 11:02:05' and `end` < '2026-03-30 14:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 14:02:18] Production.INFO: count ==5144 [2026-03-30 14:02:21] Production.ERROR: pbx CDR StartTime 2026-03-30 11:02:05 - End Time 2026-03-30 14:02:05 [2026-03-30 14:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006545', 'tblTempUsageDetail_20' ) start [2026-03-30 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006545', 'tblTempUsageDetail_20' ) end [2026-03-30 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006545', 'tblTempVendorCDR_20' ) start [2026-03-30 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006545', 'tblTempVendorCDR_20' ) end [2026-03-30 14:02:22] Production.INFO: ProcessCDR(1,17006545,1,1,2) [2026-03-30 14:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17006545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 14:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17006545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 14:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17006545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 14:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17006545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 14:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006545', 'tblTempUsageDetail_20' ) start [2026-03-30 14:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006545', 'tblTempUsageDetail_20' ) end [2026-03-30 14:02:44] Production.ERROR: pbx prc_insertCDR start [2026-03-30 14:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-30 14:02:47] Production.INFO: ==319== Releasing lock... [2026-03-30 14:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 14:02:47] Production.INFO: 66.75 MB #Memory Used# [2026-03-30 15:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 12:02:05 [end_date_ymd] => 2026-03-30 15:02:05 [RateCDR] => 1 ) [2026-03-30 15:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 12:02:05' and `end` < '2026-03-30 15:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 15:02:19] Production.INFO: count ==5094 [2026-03-30 15:02:22] Production.ERROR: pbx CDR StartTime 2026-03-30 12:02:05 - End Time 2026-03-30 15:02:05 [2026-03-30 15:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 15:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006792', 'tblTempUsageDetail_20' ) start [2026-03-30 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17006792', 'tblTempUsageDetail_20' ) end [2026-03-30 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006792', 'tblTempVendorCDR_20' ) start [2026-03-30 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17006792', 'tblTempVendorCDR_20' ) end [2026-03-30 15:02:23] Production.INFO: ProcessCDR(1,17006792,1,1,2) [2026-03-30 15:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17006792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 15:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17006792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 15:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17006792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 15:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17006792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 15:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006792', 'tblTempUsageDetail_20' ) start [2026-03-30 15:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17006792', 'tblTempUsageDetail_20' ) end [2026-03-30 15:02:44] Production.ERROR: pbx prc_insertCDR start [2026-03-30 15:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-30 15:02:47] Production.INFO: ==4850== Releasing lock... [2026-03-30 15:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 15:02:47] Production.INFO: 66.5 MB #Memory Used# [2026-03-30 16:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 13:02:05 [end_date_ymd] => 2026-03-30 16:02:05 [RateCDR] => 1 ) [2026-03-30 16:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 13:02:05' and `end` < '2026-03-30 16:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 16:02:18] Production.INFO: count ==5330 [2026-03-30 16:02:21] Production.ERROR: pbx CDR StartTime 2026-03-30 13:02:05 - End Time 2026-03-30 16:02:05 [2026-03-30 16:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007039', 'tblTempUsageDetail_20' ) start [2026-03-30 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007039', 'tblTempUsageDetail_20' ) end [2026-03-30 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007039', 'tblTempVendorCDR_20' ) start [2026-03-30 16:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007039', 'tblTempVendorCDR_20' ) end [2026-03-30 16:02:22] Production.INFO: ProcessCDR(1,17007039,1,1,2) [2026-03-30 16:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17007039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 16:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17007039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 16:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17007039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 16:02:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17007039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 16:02:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007039', 'tblTempUsageDetail_20' ) start [2026-03-30 16:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007039', 'tblTempUsageDetail_20' ) end [2026-03-30 16:02:45] Production.ERROR: pbx prc_insertCDR start [2026-03-30 16:02:48] Production.ERROR: pbx prc_insertCDR end [2026-03-30 16:02:48] Production.INFO: ==9198== Releasing lock... [2026-03-30 16:02:48] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 16:02:48] Production.INFO: 68.25 MB #Memory Used# [2026-03-30 17:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 14:02:05 [end_date_ymd] => 2026-03-30 17:02:05 [RateCDR] => 1 ) [2026-03-30 17:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 14:02:05' and `end` < '2026-03-30 17:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 17:02:19] Production.INFO: count ==5213 [2026-03-30 17:02:22] Production.ERROR: pbx CDR StartTime 2026-03-30 14:02:05 - End Time 2026-03-30 17:02:05 [2026-03-30 17:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007286', 'tblTempUsageDetail_20' ) start [2026-03-30 17:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007286', 'tblTempUsageDetail_20' ) end [2026-03-30 17:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007286', 'tblTempVendorCDR_20' ) start [2026-03-30 17:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007286', 'tblTempVendorCDR_20' ) end [2026-03-30 17:02:23] Production.INFO: ProcessCDR(1,17007286,1,1,2) [2026-03-30 17:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17007286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 17:02:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17007286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 17:02:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17007286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 17:02:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17007286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 17:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007286', 'tblTempUsageDetail_20' ) start [2026-03-30 17:02:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007286', 'tblTempUsageDetail_20' ) end [2026-03-30 17:02:46] Production.ERROR: pbx prc_insertCDR start [2026-03-30 17:02:50] Production.ERROR: pbx prc_insertCDR end [2026-03-30 17:02:50] Production.INFO: ==13545== Releasing lock... [2026-03-30 17:02:50] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 17:02:50] Production.INFO: 67.25 MB #Memory Used# [2026-03-30 18:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 15:02:06 [end_date_ymd] => 2026-03-30 18:02:06 [RateCDR] => 1 ) [2026-03-30 18:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 15:02:06' and `end` < '2026-03-30 18:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 18:02:18] Production.INFO: count ==4343 [2026-03-30 18:02:21] Production.ERROR: pbx CDR StartTime 2026-03-30 15:02:06 - End Time 2026-03-30 18:02:06 [2026-03-30 18:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 18:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007533', 'tblTempUsageDetail_20' ) start [2026-03-30 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007533', 'tblTempUsageDetail_20' ) end [2026-03-30 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007533', 'tblTempVendorCDR_20' ) start [2026-03-30 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007533', 'tblTempVendorCDR_20' ) end [2026-03-30 18:02:22] Production.INFO: ProcessCDR(1,17007533,1,1,2) [2026-03-30 18:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17007533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 18:02:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17007533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 18:02:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17007533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 18:02:45] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17007533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 18:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007533', 'tblTempUsageDetail_20' ) start [2026-03-30 18:02:45] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007533', 'tblTempUsageDetail_20' ) end [2026-03-30 18:02:45] Production.ERROR: pbx prc_insertCDR start [2026-03-30 18:02:47] Production.ERROR: pbx prc_insertCDR end [2026-03-30 18:02:47] Production.INFO: ==17994== Releasing lock... [2026-03-30 18:02:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 18:02:47] Production.INFO: 60.75 MB #Memory Used# [2026-03-30 19:02:05] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 16:02:05 [end_date_ymd] => 2026-03-30 19:02:05 [RateCDR] => 1 ) [2026-03-30 19:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 16:02:05' and `end` < '2026-03-30 19:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 19:02:17] Production.INFO: count ==3173 [2026-03-30 19:02:19] Production.ERROR: pbx CDR StartTime 2026-03-30 16:02:05 - End Time 2026-03-30 19:02:05 [2026-03-30 19:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007777', 'tblTempUsageDetail_20' ) start [2026-03-30 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17007777', 'tblTempUsageDetail_20' ) end [2026-03-30 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007777', 'tblTempVendorCDR_20' ) start [2026-03-30 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17007777', 'tblTempVendorCDR_20' ) end [2026-03-30 19:02:19] Production.INFO: ProcessCDR(1,17007777,1,1,2) [2026-03-30 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17007777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 19:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17007777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 19:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17007777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 19:02:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17007777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 19:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007777', 'tblTempUsageDetail_20' ) start [2026-03-30 19:02:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17007777', 'tblTempUsageDetail_20' ) end [2026-03-30 19:02:41] Production.ERROR: pbx prc_insertCDR start [2026-03-30 19:02:42] Production.ERROR: pbx prc_insertCDR end [2026-03-30 19:02:42] Production.INFO: ==22387== Releasing lock... [2026-03-30 19:02:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 19:02:42] Production.INFO: 52 MB #Memory Used# [2026-03-30 20:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 17:02:06 [end_date_ymd] => 2026-03-30 20:02:06 [RateCDR] => 1 ) [2026-03-30 20:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 17:02:06' and `end` < '2026-03-30 20:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 20:02:17] Production.INFO: count ==1941 [2026-03-30 20:02:18] Production.ERROR: pbx CDR StartTime 2026-03-30 17:02:06 - End Time 2026-03-30 20:02:06 [2026-03-30 20:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008024', 'tblTempUsageDetail_20' ) start [2026-03-30 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008024', 'tblTempUsageDetail_20' ) end [2026-03-30 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008024', 'tblTempVendorCDR_20' ) start [2026-03-30 20:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008024', 'tblTempVendorCDR_20' ) end [2026-03-30 20:02:18] Production.INFO: ProcessCDR(1,17008024,1,1,2) [2026-03-30 20:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17008024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 20:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17008024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 20:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17008024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 20:02:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17008024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 20:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008024', 'tblTempUsageDetail_20' ) start [2026-03-30 20:02:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008024', 'tblTempUsageDetail_20' ) end [2026-03-30 20:02:40] Production.ERROR: pbx prc_insertCDR start [2026-03-30 20:02:41] Production.ERROR: pbx prc_insertCDR end [2026-03-30 20:02:41] Production.INFO: ==27649== Releasing lock... [2026-03-30 20:02:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 20:02:41] Production.INFO: 43.5 MB #Memory Used# [2026-03-30 21:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 18:02:06 [end_date_ymd] => 2026-03-30 21:02:06 [RateCDR] => 1 ) [2026-03-30 21:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 18:02:06' and `end` < '2026-03-30 21:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 21:02:17] Production.INFO: count ==1329 [2026-03-30 21:02:17] Production.ERROR: pbx CDR StartTime 2026-03-30 18:02:06 - End Time 2026-03-30 21:02:06 [2026-03-30 21:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 21:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008271', 'tblTempUsageDetail_20' ) start [2026-03-30 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008271', 'tblTempUsageDetail_20' ) end [2026-03-30 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008271', 'tblTempVendorCDR_20' ) start [2026-03-30 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008271', 'tblTempVendorCDR_20' ) end [2026-03-30 21:02:18] Production.INFO: ProcessCDR(1,17008271,1,1,2) [2026-03-30 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17008271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 21:02:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17008271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 21:02:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17008271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 21:02:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17008271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 21:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008271', 'tblTempUsageDetail_20' ) start [2026-03-30 21:02:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008271', 'tblTempUsageDetail_20' ) end [2026-03-30 21:02:37] Production.ERROR: pbx prc_insertCDR start [2026-03-30 21:02:38] Production.ERROR: pbx prc_insertCDR end [2026-03-30 21:02:38] Production.INFO: ==32072== Releasing lock... [2026-03-30 21:02:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 21:02:38] Production.INFO: 38.25 MB #Memory Used# [2026-03-30 22:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 19:02:06 [end_date_ymd] => 2026-03-30 22:02:06 [RateCDR] => 1 ) [2026-03-30 22:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 19:02:06' and `end` < '2026-03-30 22:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 22:02:17] Production.INFO: count ==942 [2026-03-30 22:02:18] Production.ERROR: pbx CDR StartTime 2026-03-30 19:02:06 - End Time 2026-03-30 22:02:06 [2026-03-30 22:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008518', 'tblTempUsageDetail_20' ) start [2026-03-30 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008518', 'tblTempUsageDetail_20' ) end [2026-03-30 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008518', 'tblTempVendorCDR_20' ) start [2026-03-30 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008518', 'tblTempVendorCDR_20' ) end [2026-03-30 22:02:18] Production.INFO: ProcessCDR(1,17008518,1,1,2) [2026-03-30 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17008518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 22:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17008518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 22:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17008518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 22:02:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17008518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 22:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008518', 'tblTempUsageDetail_20' ) start [2026-03-30 22:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008518', 'tblTempUsageDetail_20' ) end [2026-03-30 22:02:39] Production.ERROR: pbx prc_insertCDR start [2026-03-30 22:02:39] Production.ERROR: pbx prc_insertCDR end [2026-03-30 22:02:39] Production.INFO: ==4122== Releasing lock... [2026-03-30 22:02:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 22:02:39] Production.INFO: 37.25 MB #Memory Used# [2026-03-30 23:02:06] Production.ERROR: Array ( [start_date_ymd] => 2026-03-30 20:02:06 [end_date_ymd] => 2026-03-30 23:02:06 [RateCDR] => 1 ) [2026-03-30 23:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2026-03-30 20:02:06' and `end` < '2026-03-30 23:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2026-03-30 23:02:18] Production.INFO: count ==789 [2026-03-30 23:02:18] Production.ERROR: pbx CDR StartTime 2026-03-30 20:02:06 - End Time 2026-03-30 23:02:06 [2026-03-30 23:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2026-03-30 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008765', 'tblTempUsageDetail_20' ) start [2026-03-30 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '17008765', 'tblTempUsageDetail_20' ) end [2026-03-30 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008765', 'tblTempVendorCDR_20' ) start [2026-03-30 23:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '17008765', 'tblTempVendorCDR_20' ) end [2026-03-30 23:02:18] Production.INFO: ProcessCDR(1,17008765,1,1,2) [2026-03-30 23:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,17008765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 23:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,17008765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2026-03-30 23:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,17008765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 23:02:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,17008765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2026-03-30 23:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008765', 'tblTempUsageDetail_20' ) start [2026-03-30 23:02:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('17008765', 'tblTempUsageDetail_20' ) end [2026-03-30 23:02:39] Production.ERROR: pbx prc_insertCDR start [2026-03-30 23:02:39] Production.ERROR: pbx prc_insertCDR end [2026-03-30 23:02:39] Production.INFO: ==8566== Releasing lock... [2026-03-30 23:02:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2026-03-30 23:02:39] Production.INFO: 35 MB #Memory Used#